summaryrefslogtreecommitdiff
path: root/debug_tools
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-07-18 17:14:41 -0700
committerJonathan <[email protected]>2018-07-18 17:14:41 -0700
commit3a09960577b9c9cbcce8fedeef8874ccc533f378 (patch)
tree30ca7bc274277ab3fc0b628ccddf2e2489844fa2 /debug_tools
parent742919652e8c4bd3ac33248175bc7fca0e419227 (diff)
added c++filt that works better, param offset dumping, protection for failing system calls
Diffstat (limited to 'debug_tools')
-rw-r--r--debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.cpp b/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.cpp
index b7f9f2d..26a6d29 100644
--- a/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.cpp
+++ b/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.cpp
@@ -183,6 +183,7 @@ void initializeData(std::vector<unsigned char*>& param_data, std::vector< std::p
assert( err==1 );
params[i] = (unsigned char) val;
}
+ //TODO: parse param offset
param_info.push_back(info);
param_data.push_back(params);
err = fscanf(fin, "\n");
@@ -290,7 +291,6 @@ int main(int argc, char **argv)
checkCudaErrors(cuParamSetSize(hKernel, paramOffset));
// Launch the kernel (Driver API_)
- // TODO: automatically load these values in
CUDAAPI cuLaunchKernel(hKernel, gridDim.x, gridDim.y, gridDim.z, blockDim.x, blockDim.y, blockDim.z,
0, NULL, paramKernels, NULL);
std::cout << "CUDA kernel launched" << std::endl;