Skip to content

Commit

Permalink
v0.2.3
Browse files Browse the repository at this point in the history
Signed-off-by: Cocoa <[email protected]>
  • Loading branch information
cocoa-xu committed Jun 17, 2024
1 parent de340d8 commit 9a4ebcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/modules/evision_gpumat.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static ERL_NIF_TERM evision_cv_cuda_cuda_GpuMat_from_pointer(ErlNifEnv *env, int
bytePtr[i] = device_pointer[i];
}
} else {
auto result = get_pointer_for_ipc_handle(pointer_vec);
auto result = get_pointer_for_ipc_handle(device_pointer);
if (result.second) {
return evision::nif::error(env, "Unable to get pointer for IPC handle.");
}
Expand Down

0 comments on commit 9a4ebcd

Please sign in to comment.