fix clang format

This commit is contained in:
illsilin
2024-02-14 16:16:38 -08:00
parent d66da6bee9
commit e60bf36c9e
3 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -294,7 +294,7 @@ struct DeviceElementwise3dImpl : public DeviceElementwise<InDataTypeTuple,
bool IsSupportedArgument(const BaseArgument* p_arg) override
{
if((ck::get_device_name() == "gfx940" || ck::get_device_name() == "gfx941" ||
ck::get_device_name() == "gfx942" || ck::get_device_name() == "gfx950" ))
ck::get_device_name() == "gfx942" || ck::get_device_name() == "gfx950"))
{
return false;
}

View File

@@ -189,7 +189,7 @@ struct vector_type<T, 1>
}
};
int static err = 0;
__device__ int static err = 0;
template <typename T>
struct vector_type<T, 2>
{