Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW] call cudaMemcpyAsync/cudaMemsetAsync in JNI [skip ci] #5913

Merged
merged 3 commits into from
Aug 11, 2020

Conversation

rongou
Copy link
Contributor

@rongou rongou commented Aug 11, 2020

Get rid of the synchronous cudaMemcpy and cudaMemset calls. For cudaMemcpy, reuse the existing stream version; for cudaMemset I just changed it since I didn't find any users.

The cpp file got reformatted by clang-format, but the actual change is just getting rid of the native method calling cudaMemcpy, and changing memset to asyncMemset.

Part of NVIDIA/spark-rapids#533.

@jlowe @revans2

@rongou rongou requested a review from a team as a code owner August 11, 2020 00:03
@GPUtester
Copy link
Collaborator

Please update the changelog in order to start CI tests.

View the gpuCI docs here.

@jlowe jlowe added the Java Affects Java cuDF API. label Aug 11, 2020
java/src/main/java/ai/rapids/cudf/Cuda.java Outdated Show resolved Hide resolved
java/src/main/java/ai/rapids/cudf/Cuda.java Show resolved Hide resolved
java/src/main/native/src/CudaJni.cpp Outdated Show resolved Hide resolved
java/src/main/java/ai/rapids/cudf/Cuda.java Show resolved Hide resolved
@rongou rongou requested a review from jlowe August 11, 2020 15:58
@jlowe jlowe merged commit ef1629c into rapidsai:branch-0.15 Aug 11, 2020
@rongou rongou deleted the jni-async branch September 4, 2020 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java Affects Java cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants