Skip to content

soloman817/CUDALab

Repository files navigation

CUDA Lab Project

There is a live website of this project at http://www.aleacubase.com/cudalab. You can also fork or clone the source code from GitHub.

The project targets coding Alea.cuBase examples using F# scripts. Alea.cuBase is a language integrated compiler which allows you to code CUDA kernel with F# and then generate the kernel dynamically and load it into CUDA enabled device.

F# support scripting. We code each examples in this project using F# script. We also use FSharp.Formatting to do Literate Programming.

All pages are written in markdown or F# scripts. Each F# script is a valid F# code, which can be run. When building the document output (like HTML), the script will be run and its output will be automatically added into the bottom of the generated HTML page.

To build the output, you need run the build.cmd. But due to a bug you must have Alea.cuBase license installed to run the build.cmd (This may be fixed in the future).

The following sequence described a full build sequence:

  • Delete packages directory in root directory.
  • Run build.cmd RestorePackages to restore packages.
  • Run build.cmd to build the html output.