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:
Thomas Dinges
2014-05-11 03:38:39 +02:00
parent 8904eaf504
commit c08c931fb6
9 changed files with 139 additions and 13 deletions

View File

@@ -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 */