Files
cuda/examples/marching/wrapper.sh
Pat Bernardi ec6f9f15d9 Reorganise Marching Cubes and make use of the new device-cuda runtime
The example now makes use of the new device-cuda runtime. The project file
has also been split into seperate device and host projects because the host
code depends on the opengl project which is incompatible with the
device-cuda runtime, and I don't believe there's an easy way to use scenario
variables to work around that. Beside, the device code is conceptionally
different code anyway; ideally we could find a way to to make the device
project a subproject of the host project.

Source code has also been moved around to give the example a bit more
structure.

TN: U114-058
2021-03-23 21:08:45 +11:00

6 lines
219 B
Bash
Executable File

#!/bin/sh -e
Execution_Side=Device gprbuild -P ../../api/cuda_device.gpr -j0
Execution_Side=Device gprbuild -P marching_device_code.gpr -j0
Execution_Side=Host gprbuild -P marching_cubes -j0 -largs $PWD/obj/*.fatbin.o