Skip to content

Commit d2561e7

Browse files
committed
Use PI_ERROR_PLUGIN_SPECIFIC_ERROR
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 5e33bea commit d2561e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/plugins/cuda/pi_cuda.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4906,7 +4906,7 @@ pi_result cuda_piextUSMEnqueueMemAdvise(pi_queue queue, const void *ptr,
49064906
setErrorMessage("Mem advise ignored as device does not support "
49074907
"concurrent managed access",
49084908
PI_SUCCESS);
4909-
return PI_PLUGIN_SPECIFIC_ERROR;
4909+
return PI_ERROR_PLUGIN_SPECIFIC_ERROR;
49104910
}
49114911

49124912
// TODO: If ptr points to valid system-allocated pageable memory we should

0 commit comments

Comments
 (0)