Files
cuda/examples/marching/marching_device_code.gpr
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

19 lines
428 B
Plaintext

with "../../api/cuda_device.gpr";
project Marching_Device_Code is
for Languages use ("Ada");
for Source_Dirs use ("src/device_code", "src/common");
for Object_Dir use "obj";
for Target use "cuda";
for Runtime ("ada") use "device-cuda";
for Create_Missing_Dirs use "True";
package Compiler is
for Switches ("ada") use ("-gnatX", "-O2", "-gnatn", "-v");
end Compiler;
end Marching_Device_Code;