summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-sim.cc
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-07-09 09:19:09 -0700
committerJonathan <[email protected]>2018-07-09 09:19:09 -0700
commit47394dbbaf497b0d3b67b900e2f7f72371a701a8 (patch)
tree70b9bcde0a1087c7dfecd311d6d11abe7baa11ca /src/cuda-sim/cuda-sim.cc
parent7c4f9d7bff7b1725f3da6ddc8abf3f77a1cbe6f5 (diff)
better launchkernels and more printouts for debugging
Diffstat (limited to 'src/cuda-sim/cuda-sim.cc')
-rw-r--r--src/cuda-sim/cuda-sim.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc
index fc4f82a..ae2f539 100644
--- a/src/cuda-sim/cuda-sim.cc
+++ b/src/cuda-sim/cuda-sim.cc
@@ -1296,6 +1296,7 @@ void function_info::ptx_jit_config(std::map<unsigned long long, size_t> mallocPt
system(buff);
fin = fopen(ptx_source, "r");
assert(fin!=NULL);
+ printf("Writing data to %s ...\n", ptx_config_fn.c_str());
fout = fopen(ptx_config_fn.c_str(), "a");
assert(fout!=NULL);
for (unsigned i = 0; i<line_number; i++){