Simple myocamlbuild.ml to call nvcc compiler
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README
_tags
matrixIndex.cu
myocamlbuild.ml
test.ml

README

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.