Add cuda-oxide HTJ2K compact kernel#41
Merged
Merged
Conversation
jcwal1516
added a commit
that referenced
this pull request
Jun 29, 2026
Add cuda-oxide HTJ2K compact kernel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
j2k_htj2k_compact_codeblocksentrypoint to the J2K encode PTX artifactJ2K_CUDA_USE_OXIDE_J2K_ENCODE; entropy encode kernels stay on CUDA CValidation
Local macOS:
cargo fmt --checkcargo fmt --check --manifest-path crates/j2k-cuda-runtime/src/cuda_oxide_j2k_encode/simt/Cargo.tomlgit diff --checkcargo test -p j2k-cuda-runtime --all-targets --features cuda-oxide-j2k-encode(94 tests; cuda-oxide PTX skipped on macOS)cargo clippy -p j2k-cuda-runtime --all-targets --features cuda-oxide-j2k-encode -- -D warningscargo test -p xtask --test repo_lintcargo xtask unsafe-auditCUDA host
jcwal@100.75.125.59/ RTX 4070 SUPER /sm_89:cargo oxide build --arch sm_89incrates/j2k-cuda-runtime/src/cuda_oxide_j2k_encodecargo test -p j2k-cuda-runtime --all-targets --features cuda-oxide-j2k-encodewithJ2K_REQUIRE_CUDA_OXIDE_J2K_ENCODE=1,J2K_CUDA_USE_OXIDE_J2K_ENCODE=1,J2K_REQUIRE_CUDA_RUNTIME=1,J2K_REQUIRE_CUDA_KERNEL_BUILD=1,NVCC=/usr/local/cuda/bin/nvcc(96 tests)cargo test -p j2k-cuda-runtime --all-targets --features cuda-oxide-copy-u8,cuda-oxide-j2k-encode,cuda-oxide-j2k-decode-store,cuda-oxide-j2k-dequantize,cuda-oxide-j2k-idwt,cuda-oxide-transcode(105 tests)cargo +nightly clippy --manifest-path crates/j2k-cuda-runtime/src/cuda_oxide_j2k_encode/simt/Cargo.toml -- -D warnings