We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4de57 commit a71187eCopy full SHA for a71187e
offload/plugins-nextgen/cuda/src/rtl.cpp
@@ -1311,7 +1311,7 @@ Error CUDAKernelTy::launchImpl(GenericDeviceTy &GenericDevice,
1311
if (MaxDynCGroupMem >= MaxDynCGroupMemLimit) {
1312
CUresult AttrResult = cuFuncSetAttribute(
1313
Func, CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES, MaxDynCGroupMem);
1314
- Plugin::check(
+ return Plugin::check(
1315
AttrResult,
1316
"Error in cuLaunchKernel while setting the memory limits: %s");
1317
MaxDynCGroupMemLimit = MaxDynCGroupMem;
0 commit comments