aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-04-09 20:32:37 +0200
committerAndrzej Janik <[email protected]>2021-04-09 20:32:37 +0200
commit94af72f46b9e90ae0f22e8fbfa2df63a7de31afd (patch)
treed6654d1d8e9d3d0c961a1c0e78ed029ab8809ae1 /zluda
parent15f465041d2d19971455b70d778af51d50aca4fe (diff)
downloadZLUDA-94af72f46b9e90ae0f22e8fbfa2df63a7de31afd.tar.gz
ZLUDA-94af72f46b9e90ae0f22e8fbfa2df63a7de31afd.zip
Fix 32-bit builds
Diffstat (limited to 'zluda')
-rw-r--r--zluda/src/cuda.rs2
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);