Add Bazel support and rename external to third_party#73
Merged
MuGdxy merged 17 commits intoMuGdxy:mini20from Dec 22, 2025
Merged
Add Bazel support and rename external to third_party#73MuGdxy merged 17 commits intoMuGdxy:mini20from
MuGdxy merged 17 commits intoMuGdxy:mini20from
Conversation
1. Install bazel with [bazelisk](https://github.com/bazelbuild/bazelisk) 2. [Set alias for bazel `alias bazel='bazelisk'` in `.bashrc` or other shell config file on linux system] 3. RUN following commands for test (haven't test on windows) >NOTE : change `--cuda_archs` to your own case ``` bash bazel run //test:muda_unit_test --cuda_archs=compute_89:compute_89,sm_89 -c opt bazel run //test:muda_linear_sysytem_test --cuda_archs=compute_89:compute_89,sm_89 -c opt bazel run //test:muda_eigen_test --cuda_archs=compute_89:compute_89,sm_89 -c opt bazel run //example:examples --cuda_archs=compute_89:compute_89,sm_89 -c opt ``` To enable `muda_check`, `muda_compute_graph`, `muda_nvtx3`, add flags `--//:muda_check` , `--//:muda_compute_graph` or `--//:muda_nvtx3` repectively when build ```bash bazel build --//:muda_check --//:muda_compute_graph --//:muda_nvtx3 //... ``` ## Changes 1. Add MODULE.bazel, BUILD.bazel etc files for bazel build 2. Change dir `external` to `third_party` as `external` is reserved by Bazel and needed for hedron_compile_commands
Commented out debug output for blockDim.
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.
No description provided.