diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-07-25 18:38:03 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-07-25 18:43:35 +0300 |
commit | f26aa186b26f46dad08536d95b126afb42abd2f3 (patch) | |
tree | 564cb2e4efbf4d5f9756f68499d2d8824d8a1329 /intern/cycles/device/optix/queue.cpp | |
parent | 793d2031395246fb2421d130742e0fe61ab2b29c (diff) |
Cleanup: remove __KERNEL_CPU__
This was tested in some places to check if code was being compiled for the
CPU, however this is only defined in the kernel. Checking __KERNEL_GPU__
always works.
Diffstat (limited to 'intern/cycles/device/optix/queue.cpp')
-rw-r--r-- | intern/cycles/device/optix/queue.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/intern/cycles/device/optix/queue.cpp b/intern/cycles/device/optix/queue.cpp index 366bf95269d..f0d49ad6f6c 100644 --- a/intern/cycles/device/optix/queue.cpp +++ b/intern/cycles/device/optix/queue.cpp @@ -8,7 +8,6 @@ # include "util/time.h" -# undef __KERNEL_CPU__ # define __KERNEL_OPTIX__ # include "kernel/device/optix/globals.h" |