Cycles: Fix warning with MSVC
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 16:28:16 +0000 (18:28 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 16:28:38 +0000 (18:28 +0200)
intern/cycles/device/device_cuda.cpp
intern/cycles/device/opencl/opencl_split.cpp

index 606494f08eda0deb43edad6c360ffc7bf304e0d4..4c1a49878f5d80dcc5d20e96b4fa8d1b22c56e5b 100644 (file)
@@ -1613,7 +1613,7 @@ int2 CUDASplitKernel::split_kernel_local_size()
        return make_int2(32, 1);
 }
 
-int2 CUDASplitKernel::split_kernel_global_size(device_memory& /*kg*/, device_memory& /*data*/, DeviceTask */*task*/)
+int2 CUDASplitKernel::split_kernel_global_size(device_memory& /*kg*/, device_memory& /*data*/, DeviceTask * /*task*/)
 {
        /* TODO(mai): implement something here to detect ideal work size */
        return make_int2(256, 256);
index 579dbc84f53e1729e181d9acf9fd9a3a2a827d6d..b8df57ec7b91dc6a7810aa86cd47683f6328be3e 100644 (file)
@@ -340,7 +340,7 @@ public:
                return make_int2(64, 1);
        }
 
-       virtual int2 split_kernel_global_size(device_memory& kg, device_memory& data, DeviceTask */*task*/)
+       virtual int2 split_kernel_global_size(device_memory& kg, device_memory& data, DeviceTask * /*task*/)
        {
                cl_device_type type = OpenCLInfo::get_device_type(device->cdDevice);
                /* Use small global size on CPU devices as it seems to be much faster. */