diff options
author | Andrzej Janik <[email protected]> | 2021-04-09 20:32:37 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-04-09 20:32:37 +0200 |
commit | 94af72f46b9e90ae0f22e8fbfa2df63a7de31afd (patch) | |
tree | d6654d1d8e9d3d0c961a1c0e78ed029ab8809ae1 /zluda | |
parent | 15f465041d2d19971455b70d778af51d50aca4fe (diff) | |
download | ZLUDA-94af72f46b9e90ae0f22e8fbfa2df63a7de31afd.tar.gz ZLUDA-94af72f46b9e90ae0f22e8fbfa2df63a7de31afd.zip |
Fix 32-bit builds
Diffstat (limited to 'zluda')
-rw-r--r-- | zluda/src/cuda.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zluda/src/cuda.rs b/zluda/src/cuda.rs index 1eb08d5..8bd46fe 100644 --- a/zluda/src/cuda.rs +++ b/zluda/src/cuda.rs @@ -9,7 +9,7 @@ pub type cuuint32_t = u32; pub type cuuint64_t = u64; #[repr(transparent)] #[derive(Copy, Clone)] -pub struct CUdeviceptr(pub ::std::os::raw::c_ulonglong); +pub struct CUdeviceptr(pub usize); #[repr(transparent)] #[derive(Copy, Clone)] pub struct CUdevice(pub ::std::os::raw::c_int); |