Skip to content

Refine CudaTest.testCudaException in case throwing wrong type of CudaError under aarch64 - #15706

Merged
rapids-bot[bot] merged 3 commits into
NVIDIA:branch-24.06from
sperlingxx:fix_testCudaException
May 10, 2024
Merged

Refine CudaTest.testCudaException in case throwing wrong type of CudaError under aarch64 #15706
rapids-bot[bot] merged 3 commits into
NVIDIA:branch-24.06from
sperlingxx:fix_testCudaException

Conversation

@sperlingxx

Copy link
Copy Markdown
Contributor

Fix #15705

  1. Replacing Cuda.memset(Long.MAX_VALUE, (byte) 0, 1024) with Cuda.freePinned(-1L), the previous one throws fatal CUDAError cudaErrorIllegalAddress instead of nonFatal CUDAError cudaErrorInvalidValue under aarch64, while the later one throwing the correct kind of error.

  2. Enable the test case when Sanitizer is ON

@sperlingxx
sperlingxx requested a review from a team as a code owner May 9, 2024 09:39
@copy-pr-bot

copy-pr-bot Bot commented May 9, 2024

Copy link
Copy Markdown

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.

@NvTimLiu

NvTimLiu commented May 9, 2024

Copy link
Copy Markdown
Contributor

Verified on my local arm64 rocky8 container, unit tests can PASS!

@NvTimLiu

NvTimLiu commented May 9, 2024

Copy link
Copy Markdown
Contributor

/ok to test

@NvTimLiu NvTimLiu added non-breaking Non-breaking change bug Something isn't working labels May 9, 2024
Comment thread java/src/test/java/ai/rapids/cudf/CudaTest.java
@jlowe

jlowe commented May 10, 2024

Copy link
Copy Markdown
Contributor

/ok to test

@jlowe

jlowe commented May 10, 2024

Copy link
Copy Markdown
Contributor

/merge

@rapids-bot
rapids-bot Bot merged commit e1c6dc2 into NVIDIA:branch-24.06 May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Java Affects Java cuDF API. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] [JNI] CudaTest.testCudaException will not throw cudaErrorInvalidValue expectedly under certain environment

3 participants