diff options
| author | Nathan Conrad <[email protected]> | 2018-04-22 23:31:42 -0400 |
|---|---|---|
| committer | Nathan Conrad <[email protected]> | 2018-04-22 23:34:08 -0400 |
| commit | 373d64290239f3ed74d98b20494383f03fe189b6 (patch) | |
| tree | 918be07864511a5d7a5fca0be5a75fc4e8b6335e /libcuda | |
| parent | f97a699ea5bee0a9df79afec40c0142d7ff8c5be (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.cc | 2 |
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 ) { |
