mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
[CK_BUILDER] Convert convolution traits to a struct with factory functions (#3547)
* Factor helpers out of conv_traits.hpp * Create a non-templated conv_traits struct * Migrate to new instance-specific instance_to_conv_traits functions * Clean up reflection concepts * Clean up ConvTraits helpers * Update testing for convolution traits This is a lot of cleanup on tests to have verbose coverage of feature extraction, explicit tests for each supported device kernel, and simple, readable test code. * Address reviewer comments and resolve merge conflict
This commit is contained in:
@@ -2108,7 +2108,7 @@ struct DeviceGroupedConvFwdMultipleABD_Xdl_CShuffle
|
||||
|
||||
std::unique_ptr<ck_tile::reflect::Description> describe() const override
|
||||
{
|
||||
static_assert(ck_tile::reflect::conv::HasConvTraits<DeviceOp>,
|
||||
static_assert(ck_tile::reflect::HasConvTraits<DeviceOp>,
|
||||
"ConvTraits specialization not found for this device operation. "
|
||||
"If you modified the template parameters of this class, ensure that "
|
||||
"the corresponding ConvTraits specialization in "
|
||||
|
||||
@@ -1282,7 +1282,7 @@ struct DeviceGroupedConvFwdMultipleD_Xdl_CShuffle_Large_Tensor
|
||||
std::unique_ptr<ck_tile::reflect::Description> describe() const override
|
||||
{
|
||||
static_assert(
|
||||
ck_tile::reflect::conv::HasConvTraits<DeviceOp>,
|
||||
ck_tile::reflect::HasConvTraits<DeviceOp>,
|
||||
"ConvTraits specialization not found for this device operation. "
|
||||
"If you modified the template parameters of this class, ensure that "
|
||||
"the corresponding ConvTraits specialization in "
|
||||
|
||||
Reference in New Issue
Block a user