-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Can't this code calculate data of any imageD? Do I need to set DEPTH_BLOCKDIM_Z according to the value of imageD every time?
The size of the image I need to process is (1024, 1024, imageD).
The number of blocks is set as follows:
#define DEPTH_BLOCKDIM_X 32
#define DEPTH_BLOCKDIM_Z 4
#define DEPTH_RESULT_STEPS 1
#define DEPTH_HALO_STEPS 2
When imageD=256, the code works correctly, but when imageD=315, there is something wrong : CUDA error at main.cpp:390 code=77(cudaErrorIllegalAddress) "cudaDeviceSynchronize()".
The CUDA I use is CUDA10.0. The GPU device is 2080ti.
What's the reason for that?
Metadata
Metadata
Assignees
Labels
No labels