6 Commits

Author SHA1 Message Date
Tonu Naks
8877dea9e6 Provide an option for cleaning old build
Includes also clarifications for using the CUDA_ROOT
in the installation documentation.

Solves eng/toolchain/cuda#34
2023-11-27 13:57:24 +00:00
Ronan Desplanques
d716f753ba Remove executable permission from Makefiles 2023-11-06 10:00:28 +00:00
Tonu Naks
c2859ebae0 Translate the matrixMul example
https://github.com/NVIDIA/cuda-samples/tree/master/Samples/0_Introduction/matrixMul
2023-08-25 07:59:51 +00:00
Ronan Desplanques
8fd452e640 Add example written after asyncAPI CUDA sample
This commit adds a new example that mirrors the asyncAPI sample
from NVIDIA's cuda-samples repository. The minimal required version
of GNAT is also bumped to ensure the presence of recent storage
model fixes.
2023-05-25 14:59:24 +02:00
Ronan Desplanques
4cd3a4cbae Fix argument order in vectorAdd sample
Before this patch, the pragma CUDA_Execute in the vectorAdd sample
had its arguments in the wrong order. The resulting execution
configuration was in range for most devices, which explains why the
problem was undetected.

This patch puts the arguments of this pragma CUDA_Execute in their
expected order.
2023-04-13 14:10:29 +02:00
Ronan Desplanques
01e15930f0 Rename sample directory
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.
2023-04-04 08:26:24 +00:00