Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-07-25 18:38:03 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-07-25 18:43:35 +0300
commitf26aa186b26f46dad08536d95b126afb42abd2f3 (patch)
tree564cb2e4efbf4d5f9756f68499d2d8824d8a1329 /intern/cycles/test
parent793d2031395246fb2421d130742e0fe61ab2b29c (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/test')
-rw-r--r--intern/cycles/test/util_avxf_avx2_test.cpp1
-rw-r--r--intern/cycles/test/util_avxf_avx_test.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/test/util_avxf_avx2_test.cpp b/intern/cycles/test/util_avxf_avx2_test.cpp
index c50fb8cd75c..992c4d9a913 100644
--- a/intern/cycles/test/util_avxf_avx2_test.cpp
+++ b/intern/cycles/test/util_avxf_avx2_test.cpp
@@ -2,7 +2,6 @@
* Copyright 2011-2022 Blender Foundation */
#define __KERNEL_AVX2__
-#define __KERNEL_CPU__
#define TEST_CATEGORY_NAME util_avx2
diff --git a/intern/cycles/test/util_avxf_avx_test.cpp b/intern/cycles/test/util_avxf_avx_test.cpp
index b6a5491bcf1..abb98cdfb38 100644
--- a/intern/cycles/test/util_avxf_avx_test.cpp
+++ b/intern/cycles/test/util_avxf_avx_test.cpp
@@ -2,7 +2,6 @@
* Copyright 2011-2022 Blender Foundation */
#define __KERNEL_AVX__
-#define __KERNEL_CPU__
#define TEST_CATEGORY_NAME util_avx