Skip to content

Commit

Permalink
test gpu pointer to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Apr 18, 2020
1 parent b3c2242 commit 867b2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mmc_cl_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ is more than what your have specified (%d), please use the -H option to specify
OCL_ASSERT(clReleaseMemObject(gnormal));
OCL_ASSERT(clReleaseMemObject(gproperty));
OCL_ASSERT(clReleaseMemObject(gparam));
if(cfg->detpos) OCL_ASSERT(clReleaseMemObject(gdetpos));
if(gdetpos) OCL_ASSERT(clReleaseMemObject(gdetpos));

for(i=0;i<workdev;i++){
OCL_ASSERT(clReleaseMemObject(gseed[i]));
Expand Down

0 comments on commit 867b2b9

Please sign in to comment.