Skip to content

Padded Generic Kernel Instance #730

Merged
zjing14 merged 17 commits into
developfrom
generic_instance
Jun 17, 2023
Merged

Padded Generic Kernel Instance #730
zjing14 merged 17 commits into
developfrom
generic_instance

Conversation

@qianfengz
Copy link
Copy Markdown
Contributor

@qianfengz qianfengz commented May 30, 2023

This is for solving the Issue 709. It does the following changes

  1. Add NumReduceDim template parameter to DeviceSoftmax so that the collected instances by GetInstances() are restricted to those ones satisfying NumReduceDim
  2. For Softmax, Elementwise-Normalization, GroupNorm, add generic instance to a separate tuple and collect it as the first instance by GetInstances()
  3. Use DeviceOperationInstanceFactory to collect instances for Elementwise-Normalization
  4. Update to the corresponding client-example to add assertion of IsSupportedArgument() for the generic instance

@qianfengz qianfengz requested review from rocking5566 and zjing14 May 30, 2023 14:22
@ltqin ltqin self-requested a review June 1, 2023 08:33
@zjing14 zjing14 merged commit 0d91182 into develop Jun 17, 2023
@zjing14
Copy link
Copy Markdown
Contributor

zjing14 commented Jun 17, 2023

#709

@qianfengz qianfengz deleted the generic_instance branch June 22, 2023 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants