From e60bf36c9eed16ec3b45953e10415970777ade58 Mon Sep 17 00:00:00 2001 From: illsilin Date: Wed, 14 Feb 2024 16:16:38 -0800 Subject: [PATCH] fix clang format --- include/ck/host_utility/device_prop.hpp | 2 +- .../gpu/device/impl/device_elementwise_3d_impl.hpp | 2 +- include/ck/utility/data_type.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ck/host_utility/device_prop.hpp b/include/ck/host_utility/device_prop.hpp index 120b91b1f6..a0aa68b608 100644 --- a/include/ck/host_utility/device_prop.hpp +++ b/include/ck/host_utility/device_prop.hpp @@ -63,7 +63,7 @@ inline bool is_lds_direct_load_supported() // Check if direct loads from global memory to LDS are supported. return ck::get_device_name() == "gfx90a" || ck::get_device_name() == "gfx940" || ck::get_device_name() == "gfx941" || ck::get_device_name() == "gfx942" || - ck::get_device_name() == "gfx950"; + ck::get_device_name() == "gfx950"; } inline bool is_navi1_supported() diff --git a/include/ck/tensor_operation/gpu/device/impl/device_elementwise_3d_impl.hpp b/include/ck/tensor_operation/gpu/device/impl/device_elementwise_3d_impl.hpp index 1238c6e704..be778b7137 100644 --- a/include/ck/tensor_operation/gpu/device/impl/device_elementwise_3d_impl.hpp +++ b/include/ck/tensor_operation/gpu/device/impl/device_elementwise_3d_impl.hpp @@ -294,7 +294,7 @@ struct DeviceElementwise3dImpl : public DeviceElementwise } }; -int static err = 0; +__device__ int static err = 0; template struct vector_type {