diff options
author | Andrzej Janik <[email protected]> | 2024-11-22 18:57:19 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2024-11-22 18:57:19 +0100 |
commit | 9f677e23c022955d552f2d530488ef51a95f0d6c (patch) | |
tree | fe1e5c51594e03e365bebaa51bc3dc66ccefaf1f /zluda/src/lib.rs | |
parent | 3ec7bffdc5706b4302e5b39411354f09dec02421 (diff) | |
download | ZLUDA-9f677e23c022955d552f2d530488ef51a95f0d6c.tar.gz ZLUDA-9f677e23c022955d552f2d530488ef51a95f0d6c.zip |
Add basic cuModule*, add handful of missing stuff
Diffstat (limited to 'zluda/src/lib.rs')
-rw-r--r-- | zluda/src/lib.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/zluda/src/lib.rs b/zluda/src/lib.rs index 942c7e4..12d6ce0 100644 --- a/zluda/src/lib.rs +++ b/zluda/src/lib.rs @@ -27,16 +27,16 @@ macro_rules! implemented { }; } - -use cuda_base::cuda_function_declarations; -cuda_function_declarations!( +cuda_base::cuda_function_declarations!( unimplemented, implemented <= [ cuCtxGetLimit, cuCtxSetLimit, + cuCtxSynchronize, cuDeviceComputeCapability, cuDeviceGet, cuDeviceGetAttribute, + cuDeviceGetCount, cuDeviceGetLuid, cuDeviceGetName, cuDeviceGetProperties, @@ -44,5 +44,8 @@ cuda_function_declarations!( cuDeviceGetUuid_v2, cuDeviceTotalMem_v2, cuInit, + cuModuleGetFunction, + cuModuleLoadData, + cuModuleUnload, ] );
\ No newline at end of file |