26 Commits

Author SHA1 Message Date
Ronan Desplanques
8d1a791cd8 Fix typo in binding generation script
The typo's only consequence is to add an extra line to the logs shown
when running setup.sh.
2023-12-04 10:32:25 +01:00
Ronan Desplanques
625a2b945a Apply temporary binding generation fix
This patch applies a temporary workaround to be able to use gnat-cuda
with CUDA 12.3.
2023-11-21 09:15:59 +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
Leo Germond
63b9aa8d7d bind.sh: fix quotes 2023-11-02 15:13:37 +01:00
Leo Germond
7efe5e9cdd fix shellcheck warnings 2023-10-16 18:06:54 +02:00
Léo Germond
2245598adc fix shellcheck warnings 2023-09-12 10:21:52 +02:00
Léo Germond
97cf20f671 shellcheck: fix errors 2023-09-12 09:59:21 +02:00
Léo Germond
8da4f19659 which -> command -v 2023-09-07 13:50:10 +00:00
Leo Germond
a5ff391229 pre for invoking uwrap: gnatls 2023-09-07 13:50:10 +00:00
Tonu Naks
0827bfa90d Fix directory content check
Without quoting, the check behaves correctly. However, when
there is more than one file (or filename with space) it
throws a useless error message.

This reverts commit 80859a0a5647bd4f70aed6a123462e0426989fec.
2023-08-25 07:59:51 +00:00
Ronan Desplanques
863cbaf1f8 Disable device-side thick bindings generation
The device-side thick bindings are not usable at the moment, and they
tend to break with each new version of CUDA that NVIDIA releases.
This patch unhooks the generation of these bindings from `setup.sh`.
The uwrap files are left in the tree in the hope that they will be
fixed later.
2023-08-18 14:27:36 +03:00
Léo Germond
843d508245 check that uwrap creates files (#7) 2023-05-26 12:44:38 +00:00
Quentin Ochem
7470bb2717 Fixed host and device binding, for VC20-035
For now, we need to duplicate most of the file contents. UWrap
doesn't allow for easy modularization of user files. As we're
looking at moving these files to a different tool, it's not worth
fixing at this stage.
2022-12-20 17:05:11 -05:00
Leo Germond
b79054678e bind.sh locates CUDA 2022-07-28 16:56:38 +02:00
Leo Germond
302879afd8 bind: precondition: /usr/local/cuda-11.6/inclide is a directory 2022-07-13 11:53:19 +02:00
Leo Germond
6e2804c4cf bind: -ex 2022-03-30 10:21:07 +02:00
Ghjuvan Lacambre
ce0191de44 bind.sh: also generate bindings to libdevice 2022-02-10 15:27:29 +01:00
QuentinOchem
ab9d050a81 hide unecessary C warning, V208-021 2022-02-08 16:31:30 -05:00
QuentinOchem
21d02447a1 improved binding generation 2021-05-11 14:56:46 -04:00
QuentinOchem
ab67c83f8b making progress with marching cubes demo 2020-09-21 22:40:05 -04:00
QuentinOchem
9a5661dbf2 introduced separate binding for host and device 2020-09-17 23:07:07 -04:00
QuentinOchem
c47a185c39 updated to latest uwrap 2020-07-30 21:09:55 -04:00
Quentin Ochem
06c2713066 Refreshed binding using new wrapping generator. 2020-07-06 21:54:30 -04:00
Quentin Ochem
8c11181fdb Fixed register access mapping. 2020-02-27 13:23:56 -05:00
Quentin Ochem
b617a7291c Updated runtime-api 2020-02-19 14:28:45 -05:00