Skip to content

[CM Conv] Enable SIMD16 Support for DPAS Convolutions #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Prithviraj-R
Copy link
Collaborator

No description provided.

@@ -1503,12 +1525,13 @@ class ConvolutionCmDispatcher : public ConvolutionBaseDispatcher
std::uint32_t gws_z = 0;
if (output_layout == DataLayout::eIO_i8_o8_i2)
{
const std::uint32_t ic_chunks_per_hw_thread = 8;
const std::uint32_t exec_size = 8;
const std::uint32_t exec_size = 16; // BMG = 16, DG2 = 8
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smarcink How to handle this?

@@ -1452,7 +1473,8 @@ class ConvolutionCmDispatcher : public ConvolutionBaseDispatcher
const uint32_t out_ch_size = static_cast<uint32_t>(std::ceil(params_.filter_shape.n / (double)(cm_params_.block_oc)));
const auto gws_x = cm_params_.slice_ic * (round_up_next_multiple(output_shape_.w, cm_params_.block_w) / cm_params_.block_w);
const auto gws_y = round_up_next_multiple(output_shape_.h, cm_params_.block_h) / cm_params_.block_h;
const auto gws_z = (params_.input_shape.n / cm_params_.block_batch) * out_ch_size;
const auto execsize = 2; // BMG = 2, DG2 = 1
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smarcink how to handle this?

@Prithviraj-R Prithviraj-R requested a review from smarcink July 15, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant