-
Notifications
You must be signed in to change notification settings - Fork 233
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
Codegen integration #3415
base: develop
Are you sure you want to change the base?
Codegen integration #3415
Conversation
…uped_conv_fwd_multiple_abd files from CK
…ished debugging AddKernels version - solver is now running
…Open as well as the corresponding command line argument (right padding is hardcoded for now). Was having memory access issues that are currently resolved due to hardcoding of block size/grid size - need to figure out how this calculation differs from CK. With this version both the solver and the gtest are running (with the codegen packages). Need to integrate standalone codegen build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just a quick review with some simple things and common pitfalls.
A haven't looked deep into the code yet.
src/solver/codegen_conv_hip_implicit_gemm_2d_grouped_fwd_xdlops.cpp
Outdated
Show resolved
Hide resolved
auto kernel = handle_.AddKernel("tmp", | ||
"tmp", | ||
"cg_main.cpp", | ||
kernel_info.kernel_name, | ||
kernel_info.l_wk, | ||
kernel_info.g_wk, | ||
kernel_info.comp_options, | ||
0, | ||
src); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually you should add the kernels outside of this lambda and later just use added kernels.
Like here:
MIOpen/src/solver/softmax/softmax.cpp
Line 336 in 6c4a0b3
result.construction_params.push_back(kernel); |
The list of added kernels passed through const std::vector<Kernel>& kernels
into that lambda.
No description provided.