Blender  V2.93
filter.h
Go to the documentation of this file.
1 /*
2  * Copyright 2011-2017 Blender Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef __FILTER_H__
18 #define __FILTER_H__
19 
20 /* CPU Filter Kernel Interface */
21 
22 #include "util/util_types.h"
23 
25 
27 
28 #define KERNEL_NAME_JOIN(x, y, z) x##_##y##_##z
29 #define KERNEL_NAME_EVAL(arch, name) KERNEL_NAME_JOIN(kernel, arch, name)
30 #define KERNEL_FUNCTION_FULL_NAME(name) KERNEL_NAME_EVAL(KERNEL_ARCH, name)
31 
32 #define KERNEL_ARCH cpu
34 
35 #define KERNEL_ARCH cpu_sse2
37 
38 #define KERNEL_ARCH cpu_sse3
40 
41 #define KERNEL_ARCH cpu_sse41
43 
44 #define KERNEL_ARCH cpu_avx
46 
47 #define KERNEL_ARCH cpu_avx2
49 
51 
52 #endif /* __FILTER_H__ */
#define CCL_NAMESPACE_END