summaryrefslogtreecommitdiff
path: root/libopencl
diff options
context:
space:
mode:
authorgpgpu-sim <[email protected]>2016-05-16 14:49:52 -0700
committergpgpu-sim <[email protected]>2016-05-16 14:49:52 -0700
commit42115fbcbc6acd8c2faeb375d936c8a903889aaa (patch)
tree00b76420080ff4688f7ffbf04cb83634abf1026f /libopencl
parentc6a19233a5cbf3ee2f89fbd54a0a2eb9375d4ca0 (diff)
parenta625477b025d21332368a5c31a9b779c6bb0351f (diff)
Merge pull request #17 from ElTantawy/dev
Initial support for 7.5 - tested on simple sdk benchmaks (e.g., template, vectorAdd, ...)
Diffstat (limited to 'libopencl')
-rw-r--r--libopencl/opencl_runtime_api.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc
index 9da895d..020384f 100644
--- a/libopencl/opencl_runtime_api.cc
+++ b/libopencl/opencl_runtime_api.cc
@@ -268,7 +268,7 @@ cl_int _cl_kernel::bind_args( gpgpu_ptx_sim_arg_list_t &arg_list )
if( i->first != k )
return CL_INVALID_KERNEL_ARGS;
arg_info arg = i->second;
- gpgpu_ptx_sim_arg param( arg.m_arg_value, arg.m_arg_size, 0 );
+ gpgpu_ptx_sim_arg param( arg.m_arg_value, arg.m_arg_size, 0);
arg_list.push_front( param );
k++;
}
@@ -575,7 +575,7 @@ void _cl_program::Build(const char *options)
}
info.m_asm = tmp;
info.m_symtab = gpgpu_ptx_sim_load_ptx_from_string( tmp, source_num );
- gpgpu_ptxinfo_load_from_string( tmp, source_num );
+ gpgpu_ptxinfo_load_from_string( tmp, source_num);
free(tmp);
}
printf("GPGPU-Sim OpenCL API: finished compiling OpenCL kernels.\n");