63 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
Tonu Naks
df7a963530 Remove obsolete content from readme
Some details in the readme were obsolete, some referring
to tools that are availbale for internal use of adacore only.
Installation manual now contains suffcient details,
no need to duplicate the same information here.

Follow-up of eng/toolchain/cuda#41
2023-11-27 14:00:59 +02:00
Ronan Desplanques
c97c4b6080 Document CUDA installation restriction
We don't support CUDA installations in /usr because the way we set
PATH then makes the system compiler in `/usr/bin/gcc`, which often
does not support Ada, shadow the compiler driver from GNAT. This
is also true for other directories that contain a installation of gcc.
This patch documents this restriction.
2023-11-22 09:41:23 +00:00
Ronan Desplanques
d7dcacadb8 Support generating binding with cross toolchain
This patch adds some machinery to the build system to make it
possible to leverage a cross compiler for binding generation. It
also updates the documentation to remove the requirement of a native
compiler in the cross-compilation case.
2023-11-17 15:17:10 +01:00
Tonu Naks
d6d1b2eff8 Add instructions for using CUDA_ROOT
Rename cuda_host to CUDA_HOST in order to
comply with common environment variable naming
conventions.

Solves eng/toolchain/cuda#32
2023-11-16 13:39:45 +00:00
Ronan Desplanques
8fec1233da Remove workaround that's no longer needed
Before this patch, the configuration file for the Sphinx
documentation had a workaround for an issue that's no longer present
with the version of Sphinx that comes with anod. This patch removes
that workaround.

The fact that the issue has been fixed upstream can be checked by
browsing the following GitHub issue:

https://github.com/readthedocs/readthedocs.org/issues/2569
2023-11-13 12:22:11 +01:00
bortolussi
fcc32a74a6 Add the logo in the docs
Update the color of the table of content and add the AdaCore logo.
Also add a favicon.

eng/toolchain/cuda#39
2023-11-02 14:24:30 +00:00
Tonu Naks
ba724b1fa8 Small clarifications to cross installation 2023-10-13 13:09:19 +00:00
Ronan Desplanques
44c17d7524 Fix minor issues in installation document 2023-10-11 10:04:31 +02:00
Tonu Naks
f5f2d4de95 Separate platform specific setup from generic part 2023-10-10 16:05:52 +00:00
Tonu Naks
3193973de8 Minor fixes in cross documentation and setup.sh
setup.sh is now compliant with shellcheck.
env.sh still has some oen comments
2023-10-10 16:05:52 +00:00
Tonu Naks
c67bb35e23 Document cross workflow 2023-10-06 13:46:43 +00:00
Léo Germond
67f2520743 doc: fix comment blocks 2023-09-12 11:12:10 +02:00
Léo Germond
e68e3b95a0 fix doc errors 2023-09-12 11:12:10 +02:00
Léo Germond
9ec042a042 black 2023-09-12 09:59:07 +02:00
Tonu Naks
4bf4b730ed Small documentation fixes from clean setup 2023-08-25 07:59:51 +00:00
Jose Ruiz
23dcf10227 Fix typos in documentation
See merge request eng/toolchain/cuda!133
2023-08-11 11:44:52 +02:00
Ronan Desplanques
b7c85f6938 Fix minor issues in documentation 2023-06-15 12:44:57 +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
774e28129b Fix explanation of pragma CUDA_Execute in documentation 2023-04-14 11:00:21 +02:00
Ronan Desplanques
626ccad137 Fix pragma CUDA_Execute argument order
Before this patch, there were multiple places where the number of
blocks and the number of threads per block were swapped in
occurrences of pragma CUDA_Execute. This patch fixes these issues.
2023-04-13 17:07:38 +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
Ronan Desplanques
b10e80eb28 Reinstate aggregate initialization of device memory
Before this patch, we used a workaround in the simpleStreams example
to avoid a crash. Recent improvements in GNAT have made the
workaround unnecessary, so this patch removes it, and documents the
new minimum required version of GNAT.
2023-03-16 17:59:36 +01:00
Ronan Desplanques
824467cc03 Fix syntax highlighting in documentation 2023-01-03 16:22:58 +01:00
Ronan Desplanques
05e80bef04 Remove static directory from Sphinx configuration
sphinx-quickstart creates a "_static" directory and references it
in "conf.py". But since "_static" was never populated, it does not
get registered by git, and that causes a warning to be emitted
when building the documentation.

This patch removes the reference to "_static" from "conf.py".
2023-01-03 16:22:26 +01:00