Cycles / CUDA: Increase maximum image textures on GPU.
Instead of 95, we can use 145 images now. This only affects Kepler and above (sm30, sm_35 and sm_50). This can be increased further if needed, but let's first test if this does not come with a performance impact. Originally developed during my GSoC 2013.
This commit is contained in:
@@ -1150,6 +1150,7 @@ void device_cuda_info(vector<DeviceInfo>& devices)
|
||||
int major, minor;
|
||||
cuDeviceComputeCapability(&major, &minor, num);
|
||||
info.advanced_shading = (major >= 2);
|
||||
info.extended_images = (major >= 3);
|
||||
info.pack_images = false;
|
||||
|
||||
/* if device has a kernel timeout, assume it is used for display */
|
||||
|
Reference in New Issue
Block a user