summaryrefslogtreecommitdiff
path: root/libopencl
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-07-21 01:30:39 -0800
committerTor Aamodt <[email protected]>2010-07-21 01:30:39 -0800
commit58d928ca0eb339d1bbc9985730c163af26c4e2e1 (patch)
treefd6e6796b5aa5e9ba297081ed332db7664ac8695 /libopencl
parenta884b505457d48dcd2783563d407e14a607456ee (diff)
- reduce 3.1 sdk regression test runtimes (as per 2.3 sdk versions)
- add ldu support (just use ld for now) - get rid of asserts for .const[n] - status: cuda sdk 3.1 dct8x8, eigenvalues, MersenneTwister, reduction, scan still running (too slow) ocl sdk 3.1 oclQuasirandomGenerator still running (too slow) ocl sdk 3.1 oclReduction fail comparison (cuda 3.1) ocl sdk 3.1 oclMatrixMul exits mid computation ocl sdk 3.1 oclTranspose hits "clCreateBuffer - buffer already created for this host variable" ocl sdk 3.1 oclSortingNetworks fails w/ message about min workgroup size remaining 30 tests pass [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6927]
Diffstat (limited to 'libopencl')
-rw-r--r--libopencl/opencl_runtime_api.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc
index c5297a3..972b9d1 100644
--- a/libopencl/opencl_runtime_api.cc
+++ b/libopencl/opencl_runtime_api.cc
@@ -134,8 +134,9 @@ extern const char *g_gpgpusim_version_string;
g_gpgpusim_init = 1; \
}
+//# define __my_func__ __PRETTY_FUNCTION__
# if defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4)
-# define __my_func__ __PRETTY_FUNCTION__
+# define __my_func__ __func__
# else
# if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
# define __my_func__ __my_func__