diff options
author | Determinant <[email protected]> | 2015-06-07 11:55:09 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-07 11:55:09 +0800 |
commit | 6e720b961f7edac9c3a41affe0ca40dd0ec9fc85 (patch) | |
tree | 19ba0a682f9b75e70e18b796fbe5315ee5953d3a /matrix/cumatrix.c | |
parent | 5bcd5d79875587b08d598cc08bd5f8b1f5e14a23 (diff) |
fix memory leak in profiling; other minor changes
Diffstat (limited to 'matrix/cumatrix.c')
-rw-r--r-- | matrix/cumatrix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/matrix/cumatrix.c b/matrix/cumatrix.c index 4ebc5ff..ee5ecaa 100644 --- a/matrix/cumatrix.c +++ b/matrix/cumatrix.c @@ -2,6 +2,7 @@ #include "../common.h" #include "cuda_helper.h" static cublasHandle_t cublas_handle; +static cudaEvent_t profile_start, profile_stop; static HashMap *profile; int print_profile(lua_State *L) { |