summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES7
-rw-r--r--libopencl/opencl_runtime_api.cc4
2 files changed, 7 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index 512993b..ce80cfd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,10 +5,13 @@ Version 3.2.3+edits (development branch) versus 3.2.3
the two default cache sizes, 16KB/48KB with 32/64 sets.
- Added support for named barriers.
- Added support for bar.arrive and bar.red instructions.
-- Initial support for CUDA 5.0,5.5 and 6.0 to get template running.
+- Initial support for CUDA 5.0,5.5,6.0 and 7.5 to get basic sdk running (e.g., template, vectorAdd, ...)
- Removed intersim2 svn repository files
- Changed the makefile for cuobjdump_toptxplus,libcuda,intersim2 so that it outputs temporary files into the build directory
-
+- Bug fixes:
+ - Fixed a bug where sm_version was hard coded to sm_20. Now, it extracts the highest sm version that is lower than
+ the forced_max_capability configuration in GPGPUSim.
+
- Bug fixes:
- Fixed bug #81, fix ordering of pushing branch entries to the stack
- Fixed a bug where for each icache miss we also count a hit
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");