Skip to content

Commit

Permalink
update java nvcomp bindings to new nvcomp function names
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Nov 1, 2021
1 parent a2f8e3b commit c8095ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/src/main/native/src/NvcompJni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ JNIEXPORT jboolean JNICALL Java_ai_rapids_cudf_nvcomp_NvcompJni_isLZ4Data(JNIEnv
auto in_ptr = reinterpret_cast<void const *>(j_in_ptr);
auto in_size = static_cast<std::size_t>(j_in_size);
auto stream = reinterpret_cast<cudaStream_t>(j_stream);
return LZ4IsData(in_ptr, in_size, stream);
return nvcompLZ4IsData(in_ptr, in_size, stream);
}
CATCH_STD(env, 0)
}
Expand All @@ -74,7 +74,7 @@ JNIEXPORT jboolean JNICALL Java_ai_rapids_cudf_nvcomp_NvcompJni_isLZ4Metadata(JN
jlong metadata_ptr) {
try {
cudf::jni::auto_set_device(env);
return LZ4IsMetadata(reinterpret_cast<void *>(metadata_ptr));
return nvcompLZ4IsMetadata(reinterpret_cast<void *>(metadata_ptr));
}
CATCH_STD(env, 0)
}
Expand Down

0 comments on commit c8095ad

Please sign in to comment.