Files
composable_kernel/cmake/call_shard.cpp.in
shumway 52c368d16b Migrate the design to a code-generation approach.
Use a CMake function with template files to generate the source files for the
intantiating the kerenels and to generate the calling function.
2025-06-04 16:17:44 -04:00

17 lines
345 B
C++

// SPDX-License-Identifier: MIT
// Copyright (c) 2025, Advanced Micro Devices, Inc. All rights reserved.
#include "@INSTANCES@.inc"
namespace ck::tensor_operation::device::instance {
@EXTERN_TEMPLATE_STATEMENTS@;
void add_@INSTANCES@(
@INSTANCES@& instances)
{
@CALL_STATEMENTS@;
}
} // namespace ck::tensor_operation::device::instance