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.
27 lines
662 B
Plaintext
27 lines
662 B
Plaintext
with "cuda_api_device.gpr";
|
|
|
|
library project Device is
|
|
|
|
for Languages use ("Ada");
|
|
for Source_Dirs use ("src/common");
|
|
for Object_Dir use "obj/device";
|
|
|
|
for Target use "cuda";
|
|
for Library_Name use "device";
|
|
for Library_Dir use "lib";
|
|
for Library_Kind use "dynamic";
|
|
for Library_Interface use ("kernel");
|
|
for Library_Standalone use "encapsulated";
|
|
|
|
package Compiler is
|
|
for Switches ("ada") use CUDA_API_Device.Compiler_Options;
|
|
end Compiler;
|
|
|
|
package Binder is
|
|
for Default_Switches ("ada") use CUDA_API_Device.Binder_Options;
|
|
end Binder;
|
|
|
|
for Library_Options use CUDA_API_Device.Library_Options;
|
|
|
|
end Device;
|