[Bf-blender-cvs] [7cca2bf857] cycles_split_kernel: Cycles: No need for host side memory for split kernel state buffers
Mai Lavelle
noreply at git.blender.org
Thu Jan 26 09:01:08 CET 2017
Commit: 7cca2bf8577393c53025b90bca68bee075671291
Author: Mai Lavelle
Date: Thu Jan 26 01:53:27 2017 -0500
Branches: cycles_split_kernel
https://developer.blender.org/rB7cca2bf8577393c53025b90bca68bee075671291
Cycles: No need for host side memory for split kernel state buffers
===================================================================
M intern/cycles/device/device_split_kernel.h
===================================================================
diff --git a/intern/cycles/device/device_split_kernel.h b/intern/cycles/device/device_split_kernel.h
index 7c9db7fbd1..92dfb7f099 100644
--- a/intern/cycles/device/device_split_kernel.h
+++ b/intern/cycles/device/device_split_kernel.h
@@ -50,7 +50,7 @@ private:
* memory.
*/
device_memory kgbuffer;
- device_vector<uchar> split_data;
+ device_memory split_data;
device_vector<uchar> ray_state;
device_memory queue_index; /* Array of size num_queues * sizeof(int) that tracks the size of each queue. */
@@ -61,7 +61,7 @@ private:
double avg_time_per_sample;
/* Work pool with respect to each work group. */
- device_vector<uchar> work_pool_wgs;
+ device_memory work_pool_wgs;
/* clos_max value for which the kernels have been loaded currently. */
int current_max_closure;
More information about the Bf-blender-cvs
mailing list