mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
Codegen: isSupportedArgument check (#1417)
* added isSupportedArgument check into codegen device op * adding function call * remove commented code
This commit is contained in:
@@ -233,6 +233,12 @@ extern "C" __global__ void run_${name}(
|
||||
${BElementwiseOperation}{},
|
||||
${CDEElementwiseOperation}{1.0f, 1.0f});
|
||||
|
||||
if(!DeviceConv::IsSupportedArgument(arg))
|
||||
{
|
||||
printf("Arguement is not supported.\n");
|
||||
return;
|
||||
};
|
||||
|
||||
constexpr ck::LoopScheduler LoopSched = ck::make_default_loop_scheduler();
|
||||
|
||||
// GridwiseGemm
|
||||
|
||||
Reference in New Issue
Block a user