diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2017-03-23 07:11:29 +0300 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2017-03-23 07:14:48 +0300 |
commit | 4d82d525f85af937bb59c08d584413e5419037ce (patch) | |
tree | a6efa9f56df3429d580f97c2b6c66b774fa96df8 | |
parent | a63ba2739e2a3956a2049be74dc67aa59f26c7fc (diff) |
Cycles: Fix building for some compilers
-rw-r--r-- | intern/cycles/device/device_cuda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp index 58471ba67c2..08dfa181385 100644 --- a/intern/cycles/device/device_cuda.cpp +++ b/intern/cycles/device/device_cuda.cpp @@ -1500,7 +1500,7 @@ uint64_t CUDASplitKernel::state_buffer_size(device_memory& /*kg*/, device_memory cuda_assert(cuLaunchKernel(state_buffer_size, 1, 1, 1, 1, 1, 1, - 0, 0, &args, 0)); + 0, 0, (void**)&args, 0)); device->cuda_pop_context(); |