@@ -76,8 +76,8 @@ void RTDEF(CUFLaunchKernel)(const void *kernel, intptr_t gridX, intptr_t gridY,
7676 terminator.Crash (" Too many invalid grid dimensions" );
7777 }
7878 cudaStream_t defaultStream = 0 ;
79- CUDA_REPORT_IF_ERROR ( cudaLaunchKernel (kernel, gridDim, blockDim, params, smem,
80- stream != nullptr ? (cudaStream_t)(*stream) : defaultStream)) ;
79+ cudaLaunchKernel (kernel, gridDim, blockDim, params, smem,
80+ stream != nullptr ? (cudaStream_t)(*stream) : defaultStream);
8181}
8282
8383void RTDEF (CUFLaunchClusterKernel)(const void *kernel, intptr_t clusterX,
@@ -153,7 +153,7 @@ void RTDEF(CUFLaunchClusterKernel)(const void *kernel, intptr_t clusterX,
153153 launchAttr[0 ].val .clusterDim .z = clusterZ;
154154 config.numAttrs = 1 ;
155155 config.attrs = launchAttr;
156- CUDA_REPORT_IF_ERROR ( cudaLaunchKernelExC (&config, kernel, params) );
156+ cudaLaunchKernelExC (&config, kernel, params);
157157}
158158
159159void RTDEF (CUFLaunchCooperativeKernel)(const void *kernel, intptr_t gridX,
@@ -218,8 +218,8 @@ void RTDEF(CUFLaunchCooperativeKernel)(const void *kernel, intptr_t gridX,
218218 terminator.Crash (" Too many invalid grid dimensions" );
219219 }
220220 cudaStream_t defaultStream = 0 ;
221- CUDA_REPORT_IF_ERROR ( cudaLaunchCooperativeKernel (kernel, gridDim, blockDim,
222- params, smem, stream != nullptr ? (cudaStream_t)*stream : defaultStream) );
221+ cudaLaunchCooperativeKernel (kernel, gridDim, blockDim, params, smem ,
222+ stream != nullptr ? (cudaStream_t)*stream : defaultStream);
223223}
224224
225225} // extern "C"
0 commit comments