Kernel Cache: Reactivate OpenCL runtime specific kernel caches

This commit is contained in:
Jens Steube
2019-04-13 14:47:41 +02:00
parent db91876d23
commit 27f130ea90
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -486,6 +486,7 @@ void setup_environment_variables ()
putenv ((char *) "DISPLAY=:0");
}
/*
if (getenv ("OCL_CODE_CACHE_ENABLE") == NULL)
putenv ((char *) "OCL_CODE_CACHE_ENABLE=0");
@@ -494,6 +495,7 @@ void setup_environment_variables ()
if (getenv ("POCL_KERNEL_CACHE") == NULL)
putenv ((char *) "POCL_KERNEL_CACHE=0");
*/
if (getenv ("CL_CONFIG_USE_VECTORIZER") == NULL)
putenv ((char *) "CL_CONFIG_USE_VECTORIZER=False");