Skip to content

Commit

Permalink
Update context.c
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
coldzerofear authored Feb 23, 2024
1 parent a8b3d73 commit 24f2cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cuda/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extern int ctx_activate[16];

CUresult cuDevicePrimaryCtxGetState( CUdevice dev, unsigned int* flags, int* active ){
LOG_DEBUG("into cuDevicePrimaryCtxGetState dev=%d",dev);
CUresult res = CUDA_OVERRIDE_CALL(cuda_library_entry,cuDevicePrimaryCtxGetState,dev,flags,&active);
CUresult res = CUDA_OVERRIDE_CALL(cuda_library_entry,cuDevicePrimaryCtxGetState,dev,flags,active);
return res;
}

Expand Down

0 comments on commit 24f2cc6

Please sign in to comment.