Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMai Lavelle <mai.lavelle@gmail.com>2017-03-07 13:21:36 +0300
committerMai Lavelle <mai.lavelle@gmail.com>2017-03-07 13:33:49 +0300
commit6d6d26e6670ab37cf8cbc298a1e19be02760460f (patch)
tree1c93f21157cbeaf6add82ecf20654ac50b6b1aff /intern/cycles/device/device_cuda.cpp
parent712153660cef090f05e76b1bf4cdefa1b95ef0f4 (diff)
Cycles: Fix indentation
Diffstat (limited to 'intern/cycles/device/device_cuda.cpp')
-rw-r--r--intern/cycles/device/device_cuda.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp
index e6596a624d0..5c23d6d973a 100644
--- a/intern/cycles/device/device_cuda.cpp
+++ b/intern/cycles/device/device_cuda.cpp
@@ -510,8 +510,8 @@ public:
{
if(name) {
VLOG(1) << "Buffer allocate: " << name << ", "
- << string_human_readable_number(mem.memory_size()) << " bytes. ("
- << string_human_readable_size(mem.memory_size()) << ")";
+ << string_human_readable_number(mem.memory_size()) << " bytes. ("
+ << string_human_readable_size(mem.memory_size()) << ")";
}
cuda_push_context();
@@ -1458,9 +1458,9 @@ public:
cuda_assert(cuFuncSetCacheConfig(func, CU_FUNC_CACHE_PREFER_L1));
cuda_assert(cuLaunchKernel(func,
- xblocks , yblocks, 1, /* blocks */
- xthreads, ythreads, 1, /* threads */
- 0, 0, args, 0));
+ xblocks , yblocks, 1, /* blocks */
+ xthreads, ythreads, 1, /* threads */
+ 0, 0, args, 0));
device->cuda_pop_context();
@@ -1497,9 +1497,9 @@ size_t CUDASplitKernel::state_buffer_size(device_memory& /*kg*/, device_memory&
cuda_assert(cuModuleGetFunction(&state_buffer_size, device->cuModule, "kernel_cuda_state_buffer_size"));
cuda_assert(cuLaunchKernel(state_buffer_size,
- 1, 1, 1,
- 1, 1, 1,
- 0, 0, &args, 0));
+ 1, 1, 1,
+ 1, 1, 1,
+ 0, 0, &args, 0));
device->cuda_pop_context();