Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Simple myocamlbuild.ml to call nvcc compiler
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Tiny example showing how to call nvcc CUDA compiler using ocamlbuild. At the moment it does not work out dependencies: my use case is to compile a single *.cu file to an object file to be statically linked with OCaml program to run code on a GPU. The plugin could be made more elaborate to handle dependencies etc. Requires NVIDA CUDA SDK to be installed.