Skip to content

Commit bb2eab3

Browse files
committed
Add #else case.
Signed-off-by: JackAKirk <[email protected]>
1 parent d687d94 commit bb2eab3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/adapters/cuda/enqueue.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,10 +722,11 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueKernelLaunchCustomExp(
722722
return Err;
723723
}
724724
return UR_RESULT_SUCCESS;
725-
#endif // CUDA_VERSION >= 11080
725+
#else
726726
setErrorMessage("This feature requires cuda 11.8 or later.",
727727
UR_RESULT_ERROR_ADAPTER_SPECIFIC);
728728
return UR_RESULT_ERROR_ADAPTER_SPECIFIC;
729+
#endif // CUDA_VERSION >= 11080
729730
}
730731

731732
/// Set parameters for general 3D memory copy.

0 commit comments

Comments
 (0)