Skip to content

Commit

Permalink
Do not change the SYCL cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lumurillo committed Nov 14, 2024
1 parent 460e3f7 commit 8da0afc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp/open3d/core/SYCLUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,8 @@ std::vector<Device> 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
}

Expand Down

0 comments on commit 8da0afc

Please sign in to comment.