mirror of
https://github.com/AdaCore/cuda.git
synced 2026-02-12 13:05:54 -08:00
Starting with version 11.6, CUDA does not come with samples in the distribution anymore. The recommended source for samples is now https://github.com/nvidia/cuda-samples. In the newly recommended repository, the directory hierarchy is different from the one that came with CUDA. The renaming that this patch performs makes GNAT for CUDA samples mirror the CUDA samples from https://github.com/nvidia/cuda-samples.
26 lines
550 B
Plaintext
26 lines
550 B
Plaintext
with "cuda_api_host.gpr";
|
|
|
|
project Host is
|
|
|
|
for Exec_Dir use ".";
|
|
for Object_Dir use "obj/host";
|
|
for Source_Dirs use ("src/common", "src/host");
|
|
for Main use ("main.adb");
|
|
|
|
for Target use CUDA_API_Host.CUDA_Host;
|
|
|
|
package Compiler is
|
|
for Switches ("ada") use CUDA_API_Host.Compiler_Options;
|
|
end Compiler;
|
|
|
|
package Linker is
|
|
for Switches ("ada") use CUDA_API_Host.Linker_Options;
|
|
end Linker;
|
|
|
|
package Binder is
|
|
for Default_Switches ("ada") use CUDA_API_Host.Binder_Options;
|
|
end Binder;
|
|
|
|
end Host;
|
|
|