Commit Graph

48 Commits

Author SHA1 Message Date
QuentinOchem
01be22138b experiment with possible fat pointer syntax 2021-05-07 15:59:40 -04:00
QuentinOchem
6bdca2353c fixed previous check-in 2021-05-03 19:07:32 -04:00
QuentinOchem
af5f812fc2 Implemented simple streams example.
Also fixed missing bits in storage model.
2021-05-03 19:00:09 -04:00
QuentinOchem
2e330c5a8b fixed binding of cudaEventElapsedTime 2021-05-03 14:35:07 -04:00
QuentinOchem
5d59998a62 added component assignment functions to arrays 2021-05-03 14:34:38 -04:00
QuentinOchem
df11a5d8e7 fixed management of offsets in arrays 2021-05-03 12:05:05 -04:00
QuentinOchem
ef4b716c4f Fixed returned type of stream creation functions (T323-018) 2021-05-03 11:28:27 -04:00
QuentinOchem
c6c9acb16c Making progress with memory models.
Several storage models are now possible, implemented Malloc and Malloc_Host
ones. Also updated marching cubes to use the new interface.
2021-05-03 10:50:21 -04:00
QuentinOchem
4285618deb added wrapping of device types 2021-05-02 19:37:35 -04:00
QuentinOchem
449f83e3a9 fixed compilation error 2021-04-19 09:47:29 -04:00
QuentinOchem
56059c068f making progress with cuda memory wrapping 2021-04-08 13:42:15 -04:00
QuentinOchem
27eb5895eb further fixes in wrapper behavior 2021-04-01 14:57:47 -04:00
QuentinOchem
a8d523f7f7 fixed host wrappers 2021-04-01 13:49:38 -04:00
Pat Bernardi
80b69afa3d Format CUDA.Device_Atomic_Functions so it can be compiled with -gnatg
We may one day want to include the CUDA device packages with the device-cuda
runtime. If so, we need this file obey AdaCore's line length limits.

TN: U114-058
2021-03-23 21:00:58 +11:00
Pat Bernardi
eaa78925fd Split API project cuda.gpr into seperate device and host projects
Using a single project file for device and host libraries felt unwieldy,
particularly as the user's project would typically need to use seperate
project files since the host project would need to incorporate other
projects that are incompatible with device code (e.g. opengl libraries).

TN: U114-058
2021-03-23 20:59:03 +11:00
Pat Bernardi
9c90c5c304 api: fix warpsize typo 2021-03-17 14:09:02 +11:00
Pat Bernardi
2448abe5c1 Strip end-of-line spaces from cuda.wrp
Since they do not play nice with my editor.
2021-03-17 14:06:58 +11:00
QuentinOchem
993ee3c851 further progress with marching cubes examples 2020-12-15 15:36:45 -05:00
QuentinOchem
cef1a0f88b making progress with SPARK proofs 2020-12-07 14:26:30 -05:00
QuentinOchem
4807e141e4 isolated UI code 2020-12-07 10:15:14 -05:00
Ghjuvan Lacambre
3810b9308b Fix source directories for host/device compilation 2020-11-24 09:44:19 +01:00
QuentinOchem
92e26036f8 modified device api not to rely on generated files 2020-11-18 16:23:52 -05:00
Ghjuvan Lacambre
763fb43eb3 Use correct Atomic_Add function 2020-10-08 15:51:21 +02:00
QuentinOchem
b74dc51fe3 making progress with marching cubes example 2020-09-25 15:05:17 -04:00
QuentinOchem
ab67c83f8b making progress with marching cubes demo 2020-09-21 22:40:05 -04:00