Skip to content

A simple repository illustrating how to compile cuda programs with bazel

License

Notifications You must be signed in to change notification settings

NarendraPatwardhan/cubzl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cubzl

This repository aims to illustrate how to use bazel to build a C++ project with CUDA support.

To build the project, run:

bazel build //src:matmul

To run the project, run:

bazel run //src:matmul

or directly:

./bazel-bin/src/matmul

To build the docker image, run:

cp ./bazel-bin/src/matmul .
DOCKER_BUILDKIT=1 docker build -t machinelearning-one/cubzl:latest .

To run the docker image, run:

docker run --rm -it --gpus all machinelearning-one/cubzl:latest

About

A simple repository illustrating how to compile cuda programs with bazel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published