summaryrefslogtreecommitdiff
path: root/libcuda
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2018-04-22 23:31:42 -0400
committerNathan Conrad <[email protected]>2018-04-22 23:34:08 -0400
commit373d64290239f3ed74d98b20494383f03fe189b6 (patch)
tree918be07864511a5d7a5fca0be5a75fc4e8b6335e /libcuda
parentf97a699ea5bee0a9df79afec40c0142d7ff8c5be (diff)
Some classes were referred to as a class and a struct (reported as clang warnings). This makes these consistent.
Diffstat (limited to 'libcuda')
-rw-r--r--libcuda/cuda_runtime_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc
index 9bdb993..5ef6115 100644
--- a/libcuda/cuda_runtime_api.cc
+++ b/libcuda/cuda_runtime_api.cc
@@ -324,7 +324,7 @@ private:
gpgpu_ptx_sim_arg_list_t m_args;
};
-class _cuda_device_id *GPGPUSim_Init()
+struct _cuda_device_id *GPGPUSim_Init()
{
static _cuda_device_id *the_device = NULL;
if( !the_device ) {