Codegen: isSupportedArgument check (#1417)

* added isSupportedArgument check into codegen device op

* adding function call

* remove commented code
This commit is contained in:
arai713
2024-07-31 07:12:15 -07:00
committed by GitHub
parent b3f86e79dd
commit d32997a792
2 changed files with 181 additions and 0 deletions

View File

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