From acc800d24dccc48364c2d64b035c5c6aca895651 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 13 Nov 2021 12:47:18 +1100 Subject: Cleanup: clang-format --- intern/cycles/device/hip/device_impl.cpp | 4 +--- intern/cycles/device/hip/device_impl.h | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'intern/cycles/device/hip') diff --git a/intern/cycles/device/hip/device_impl.cpp b/intern/cycles/device/hip/device_impl.cpp index 2368925aca5..7874471724a 100644 --- a/intern/cycles/device/hip/device_impl.cpp +++ b/intern/cycles/device/hip/device_impl.cpp @@ -233,9 +233,7 @@ string HIPDevice::compile_kernel_get_common_cflags(const uint kernel_features) return cflags; } -string HIPDevice::compile_kernel(const uint kernel_features, - const char *name, - const char *base) +string HIPDevice::compile_kernel(const uint kernel_features, const char *name, const char *base) { /* Compute kernel name. */ int major, minor; diff --git a/intern/cycles/device/hip/device_impl.h b/intern/cycles/device/hip/device_impl.h index eb832ad828c..48d7bdef032 100644 --- a/intern/cycles/device/hip/device_impl.h +++ b/intern/cycles/device/hip/device_impl.h @@ -93,9 +93,7 @@ class HIPDevice : public Device { virtual string compile_kernel_get_common_cflags(const uint kernel_features); - string compile_kernel(const uint kernel_features, - const char *name, - const char *base = "hip"); + string compile_kernel(const uint kernel_features, const char *name, const char *base = "hip"); virtual bool load_kernels(const uint kernel_features) override; void reserve_local_memory(const uint kernel_features); -- cgit v1.2.3