diff options
Diffstat (limited to 'libopencl/opencl_runtime_api.cc')
| -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 a6046b6..cca2b8d 100644 --- a/libopencl/opencl_runtime_api.cc +++ b/libopencl/opencl_runtime_api.cc @@ -462,7 +462,7 @@ void _cl_program::Build(const char *options) char commandline[1024]; const char *opt = options?options:""; - const char* test_dir = getenv( "OPENCL_CURRENT_TEST_PATH" ); + const char* test_dir = getenv( "PWD" ); const char* remote_host = getenv( "OPENCL_REMOTE_GPU_HOST" ); if ( remote_host && test_dir ) { // create same directory on OpenCL to PTX server |
