Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/device/oneapi/compat.h
| Show All 22 Lines | |||||
| * It's used by other devices directly. | * It's used by other devices directly. | ||||
| */ | */ | ||||
| #define __device__ | #define __device__ | ||||
| /* Qualifier wrappers for different names on different devices */ | /* Qualifier wrappers for different names on different devices */ | ||||
| #define ccl_device | #define ccl_device | ||||
| #define ccl_device_extern extern "C" | |||||
| #define ccl_global | #define ccl_global | ||||
| #define ccl_always_inline __attribute__((always_inline)) | #define ccl_always_inline __attribute__((always_inline)) | ||||
| #define ccl_device_inline inline | #define ccl_device_inline inline | ||||
| #define ccl_noinline __attribute__((noinline)) | #define ccl_noinline __attribute__((noinline)) | ||||
| #define ccl_inline_constant const constexpr | #define ccl_inline_constant const constexpr | ||||
| #define ccl_static_constant const | #define ccl_static_constant const | ||||
| #define ccl_device_forceinline __attribute__((always_inline)) | #define ccl_device_forceinline __attribute__((always_inline)) | ||||
| #define ccl_device_noinline ccl_device ccl_noinline | #define ccl_device_noinline ccl_device ccl_noinline | ||||
| ▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines | |||||