[Bf-blender-cvs] [d64a640ddff] cycles_oneapi: Cycles: use L0 immediate commandlists on Windows only

Xavier Hallade noreply at git.blender.org
Mon May 23 16:28:55 CEST 2022


Commit: d64a640ddff22fb1d2340acc42dda57ffede1c6d
Author: Xavier Hallade
Date:   Mon May 23 16:25:48 2022 +0200
Branches: cycles_oneapi
https://developer.blender.org/rBd64a640ddff22fb1d2340acc42dda57ffede1c6d

Cycles: use L0 immediate commandlists on Windows only

this option didn't prove useful under Linux.

===================================================================

M	intern/cycles/device/oneapi/device.cpp

===================================================================

diff --git a/intern/cycles/device/oneapi/device.cpp b/intern/cycles/device/oneapi/device.cpp
index ff617673b17..b7cc967e598 100644
--- a/intern/cycles/device/oneapi/device.cpp
+++ b/intern/cycles/device/oneapi/device.cpp
@@ -106,8 +106,6 @@ bool device_oneapi_init()
 #  elif __linux__
   setenv("SYCL_CACHE_PERSISTENT", "1", false);
   setenv("SYCL_CACHE_THRESHOLD", "0", false);
-  setenv("SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS", "0", false);
-  setenv("SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS", "1", false);
 #  endif
 
   return true;



More information about the Bf-blender-cvs mailing list