mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-13 01:36:06 +00:00
[HotFix] add config and version files to pass on build info (#856)
* experiment with config file * experiment with version.h config * add more info to version.h * minor updates * minor updates * fix case where DTYPE is not used * large amount of files but minor changes * remove white space * minor changes to add more MACROs * fix cmakedefine01 * fix issue with CK internal conflict * fix define and define value * fix clang-format * fix formatting issue * experiment with cmake * clang format v12 to be consistent with miopen * avoid clang-format for config file
This commit is contained in:
@@ -77,7 +77,7 @@ int profile_conv_bwd_data(int argc, char* argv[])
|
||||
using F32 = float;
|
||||
using F16 = ck::half_t;
|
||||
using BF16 = ck::bhalf_t;
|
||||
#ifdef __int8__
|
||||
#ifdef CK_ENABLE_INT8
|
||||
using INT8 = int8_t;
|
||||
#endif
|
||||
|
||||
@@ -140,7 +140,7 @@ int profile_conv_bwd_data(int argc, char* argv[])
|
||||
{
|
||||
return profile(I1, NWC{}, KXC{}, NWK{}, BF16{}, BF16{}, BF16{});
|
||||
}
|
||||
#ifdef __int8__
|
||||
#ifdef CK_ENABLE_INT8
|
||||
else if(data_type == ConvDataType::INT8_INT8_INT8)
|
||||
{
|
||||
return profile(I1, NWC{}, KXC{}, NWK{}, INT8{}, INT8{}, INT8{});
|
||||
@@ -161,7 +161,7 @@ int profile_conv_bwd_data(int argc, char* argv[])
|
||||
{
|
||||
return profile(I2, NHWC{}, KYXC{}, NHWK{}, BF16{}, BF16{}, BF16{});
|
||||
}
|
||||
#ifdef __int8__
|
||||
#ifdef CK_ENABLE_INT8
|
||||
else if(data_type == ConvDataType::INT8_INT8_INT8)
|
||||
{
|
||||
return profile(I2, NHWC{}, KYXC{}, NHWK{}, INT8{}, INT8{}, INT8{});
|
||||
@@ -182,7 +182,7 @@ int profile_conv_bwd_data(int argc, char* argv[])
|
||||
{
|
||||
return profile(I3, NDHWC{}, KZYXC{}, NDHWK{}, BF16{}, BF16{}, BF16{});
|
||||
}
|
||||
#ifdef __int8__
|
||||
#ifdef CK_ENABLE_INT8
|
||||
else if(data_type == ConvDataType::INT8_INT8_INT8)
|
||||
{
|
||||
return profile(I3, NDHWC{}, KZYXC{}, NDHWK{}, INT8{}, INT8{}, INT8{});
|
||||
|
||||
Reference in New Issue
Block a user