diff options
Diffstat (limited to 'libcuda/cuda_api_object.h')
| -rw-r--r-- | libcuda/cuda_api_object.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libcuda/cuda_api_object.h b/libcuda/cuda_api_object.h index 3e34641..e620e57 100644 --- a/libcuda/cuda_api_object.h +++ b/libcuda/cuda_api_object.h @@ -35,7 +35,9 @@ struct _cuda_device_id { m_next = NULL; m_gpgpu = gpu; } - struct _cuda_device_id *next() { return m_next; } + struct _cuda_device_id *next() { + return m_next; + } unsigned num_shader() const { return m_gpgpu->get_config().num_shader(); } int num_devices() const { if (m_next == NULL) @@ -156,7 +158,9 @@ class kernel_config { void set_grid_dim(dim3 *d) { m_GridDim = *d; } void set_block_dim(dim3 *d) { m_BlockDim = *d; } gpgpu_ptx_sim_arg_list_t get_args() { return m_args; } - struct CUstream_st *get_stream() { return m_stream; } + struct CUstream_st *get_stream() { + return m_stream; + } private: dim3 m_GridDim; |
