Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/split/kernel_split_data.h
| Show All 11 Lines | |||||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #ifndef __KERNEL_SPLIT_DATA_H__ | #ifndef __KERNEL_SPLIT_DATA_H__ | ||||
| #define __KERNEL_SPLIT_DATA_H__ | #define __KERNEL_SPLIT_DATA_H__ | ||||
| #include "kernel_split_data_types.h" | #include "kernel/split/kernel_split_data_types.h" | ||||
| #include "kernel_globals.h" | #include "kernel/kernel_globals.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| ccl_device_inline uint64_t split_data_buffer_size(KernelGlobals *kg, size_t num_elements) | ccl_device_inline uint64_t split_data_buffer_size(KernelGlobals *kg, size_t num_elements) | ||||
| { | { | ||||
| (void)kg; /* Unused on CPU. */ | (void)kg; /* Unused on CPU. */ | ||||
| uint64_t size = 0; | uint64_t size = 0; | ||||
| ▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines | |||||