Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Commit

Permalink
CUDA: Update the C layout of CudaDeviceProp for CUDA 4.2
Browse files Browse the repository at this point in the history
Signed-off-by: Shin Yee <shinyee@speedgocomputing.com>
  • Loading branch information
xman committed May 10, 2012
1 parent 2eac1d2 commit 1e601dd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/cuda/runtime/ffi-cuda.rb
Expand Up @@ -300,17 +300,30 @@ class CudaDeviceProp < FFI::PrettyStruct
:major, :int,
:minor, :int,
:texture_alignment, :size_t,
:texture_pitch_alignment, :size_t,
:device_overlap, :int, # Deprecated. Use :async_engine_count.
:multi_processor_count, :int,
:kernel_exec_timeout_enabled, :int,
:integrated, :int,
:can_map_host_memory, :int,
:compute_mode, :int,
:max_texture1d, :int,
:max_texture1d_linear, :int,
:max_texture2d, [:int, 2],
:max_texture2d_linear, [:int, 3],
:max_texture2d_gather, [:int, 2],
:max_texture3d, [:int, 3],
:max_texture_cubemap, :int,
:max_texture1d_layered, [:int, 2],
:max_texture2d_layered, [:int, 3],
:max_texture_cubemap_layered, [:int, 2],
:max_surface1d, :int,
:max_surface2d, [:int, 2],
:max_surface3d, [:int, 3],
:max_surface1d_layered, [:int, 2],
:max_surface2d_layered, [:int, 3],
:max_surface_cubemap, :int,
:max_surface_cubemap_layered, [:int, 2],
:surface_alignment, :size_t,
:concurrent_kernels, :int,
:ecc_enabled, :int,
Expand Down

0 comments on commit 1e601dd

Please sign in to comment.