From 8da0afce79c9a116a0645917941fa1d558492698 Mon Sep 17 00:00:00 2001 From: "Murillo Rojas, Luis" Date: Thu, 14 Nov 2024 15:09:16 -0800 Subject: [PATCH] Do not change the SYCL cache dir --- cpp/open3d/core/SYCLUtils.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpp/open3d/core/SYCLUtils.cpp b/cpp/open3d/core/SYCLUtils.cpp index 5f7acaac964..a279f755568 100644 --- a/cpp/open3d/core/SYCLUtils.cpp +++ b/cpp/open3d/core/SYCLUtils.cpp @@ -228,10 +228,8 @@ std::vector GetAvailableSYCLDevices() { void enablePersistentJITCache() { #if defined(_WIN32) _putenv_s("SYCL_CACHE_PERSISTENT", "1"); - _putenv_s("SYCL_CACHE_DIR", "cache"); #else setenv("SYCL_CACHE_PERSISTENT", "1", 1); - setenv("SYCL_CACHE_DIR", "cache", 1); #endif }