mirror of
https://github.com/AdaCore/cuda.git
synced 2026-02-12 13:05:54 -08:00
updated elaboration example following latest fixes
This commit is contained in:
@@ -14,17 +14,17 @@ project CUDA_API_Host is
|
||||
for Switches ("ada") use (
|
||||
"-L/usr/local/cuda/targets/" & CUDA_Host & "/lib",
|
||||
"-L/usr/local/cuda/targets/" & CUDA_Host & "/lib/stubs",
|
||||
"-lcudadevrt",
|
||||
"-lcudart_static",
|
||||
"-lrt",
|
||||
"-lpthread",
|
||||
"-lcudadevrt",
|
||||
"-lcudart_static",
|
||||
"-lrt",
|
||||
"-lpthread",
|
||||
"-ldl",
|
||||
"-Wl,--unresolved-symbols=ignore-all"
|
||||
);
|
||||
end Linker;
|
||||
|
||||
package Binder is
|
||||
for Default_Switches ("ada") use ("-d_c");
|
||||
for Default_Switches ("ada") use ("-d_c=device");
|
||||
end Binder;
|
||||
|
||||
|
||||
end CUDA_API_Host;
|
||||
|
||||
Reference in New Issue
Block a user