Files
cuda/api/cuda_device.gpr
Pat Bernardi eaa78925fd Split API project cuda.gpr into seperate device and host projects
Using a single project file for device and host libraries felt unwieldy,
particularly as the user's project would typically need to use seperate
project files since the host project would need to incorporate other
projects that are incompatible with device code (e.g. opengl libraries).

TN: U114-058
2021-03-23 20:59:03 +11:00

27 lines
757 B
Plaintext

-- Uncomment these if its decided to include the CUDA headers in the runtime:
-- with "runtime_build";
-- with "target_options";
project CUDA_Device is
-- ??? It's not clear yet how to generate bindings to the device side
-- as they are very C++ specific. work on the host generated files
-- for now to ensure at least compilation OK.
for Source_Dirs use ("device_static");
for Object_Dir use "obj";
-- Uncomment this line if its decided to include the CUDA headers in the
-- runtime:
-- package Compiler renames Target_Options.Compiler;
-- Remove these lines if its decided to include the CUDA headers in the
-- runtime:
for Target use "cuda";
for Runtime ("ada") use "device-cuda";
end CUDA_Device;