You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
intel/llvm#17068 changed the semantics for urEnqueueKernelLaunch to make validation optional; Implementations may return either INVALID_ARGS or SUCCESS if the arguments are wrong.
However, the Cuda backend in the InvalidKernelArgs test returns UR_RESULT_ERROR_INVALID_VALUE. This is because cuLaunchKernel returns CUDA_ERROR_INVALID_VALUE for the (incorrect) values in the test.
The implementation of urEnqueueKernelLaunch should be updated to either return INVALID_ARGS or SUCCESS. Note that validation is optional, so if the CUDA driver is unable to perform the validation, it is allowed to report a success even if the args are invalid.
The text was updated successfully, but these errors were encountered:
intel/llvm#17068 changed the semantics for
urEnqueueKernelLaunch
to make validation optional; Implementations may return eitherINVALID_ARGS
orSUCCESS
if the arguments are wrong.However, the Cuda backend in the
InvalidKernelArgs
test returnsUR_RESULT_ERROR_INVALID_VALUE
. This is becausecuLaunchKernel
returnsCUDA_ERROR_INVALID_VALUE
for the (incorrect) values in the test.The implementation of
urEnqueueKernelLaunch
should be updated to either returnINVALID_ARGS
orSUCCESS
. Note that validation is optional, so if the CUDA driver is unable to perform the validation, it is allowed to report a success even if the args are invalid.The text was updated successfully, but these errors were encountered: