diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-08 14:19:32 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-08 14:19:32 -0400 |
| commit | 109a03655326ed23d26a3496589b21be51089bbb (patch) | |
| tree | 3331bc8b8159411d2ebf9203ea99235cba9baa92 /libopencl | |
| parent | 47d18d2dea9a27061193218f1e70ba50cf7ff46f (diff) | |
| parent | b3e786e3d8d720217f36a214e9b5be9a19ab9dd2 (diff) | |
Merge pull request #22 from echoedit/dev
g_keep_intermediate_files
Diffstat (limited to 'libopencl')
| -rw-r--r-- | libopencl/opencl_runtime_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc index e91e2e0..03ec80c 100644 --- a/libopencl/opencl_runtime_api.cc +++ b/libopencl/opencl_runtime_api.cc @@ -537,7 +537,7 @@ void _cl_program::Build(const char *options) exit(1); } } - if( !g_keep_intermediate_files ) { + if( !ctx->ptxinfo->g_keep_intermediate_files ) { // clean up files... snprintf(commandline,1024,"rm -f %s", cl_fname ); int result = system(commandline); |
