Refine `CudaTest.testCudaException` in case throwing wrong type of CudaError under aarch64
Fix #15705
-
Replacing
Cuda.memset(Long.MAX_VALUE, (byte) 0, 1024)withCuda.freePinned(-1L), the previous one throws fatal CUDAErrorcudaErrorIllegalAddressinstead of nonFatal CUDAErrorcudaErrorInvalidValueunder aarch64, while the later one throwing the correct kind of error. -
Enable the test case when Sanitizer is ON
This pull request requires additional validation before any workflows can run on NVIDIA's runners.
Pull request vetters can view their responsibilities here.
Contributors can view more details about this message here.
Verified on my local arm64 rocky8 container, unit tests can PASS!
/ok to test
/ok to test
/merge