Skip to content
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

kernel.cpp without assembly kernel implement #1832

Open
DoubleClark opened this issue Nov 29, 2023 · 1 comment
Open

kernel.cpp without assembly kernel implement #1832

DoubleClark opened this issue Nov 29, 2023 · 1 comment

Comments

@DoubleClark
Copy link

DoubleClark commented Nov 29, 2023

os: Ubuntu20.04
rocm:5.7.1
gpu: AMD MI210 gfx90a
tensile_version: Tensile 4.38.0 for ROCm 5.7.1

Hello,
could you please to give an example about how to generate the assembly kernel code in Tensile, the generation of kernel library [*.hsaco] is success, but when i check the kernel.cpp file in ./1_BenchmarkProblems/Cijk_Ailk_Bljk_HHS_BH_00/00_Final/source/Kernels.cpp, there is no GEMM kernel implement, only some kernel like Cijk_H_PostGSU, which not looks like GEMM kernel .

I use the offical config file and command line shown as below for assembly kernel generation,
../Tensile/bin/Tensile ../Tensile/Configs/rocblas_hpa_hgemm_nn_inc1_asm_full.yaml ./

Besides, when i try to generate source code, run command line below, everything seems normal.
../Tensile/bin/Tensile ../Tensile/Configs/rocblas_hpa_hgemm_hip_lite_v1.yaml ./

Q1:Does Tensile support generate assembly kernel? If support, may i get one example config file?
i try to use the asm_new.sh to generate the .s file, i suppose this is the asm file i need, but do we have a guide about how to use this file

Thansk for your help and experience.

@DoubleClark DoubleClark changed the title kernel.cpp without kernel implement kernel.cpp without assemble kernel implement Nov 29, 2023
@DoubleClark DoubleClark changed the title kernel.cpp without assemble kernel implement kernel.cpp without assembly kernel implement Nov 29, 2023
@nakajee
Copy link
Contributor

nakajee commented Nov 30, 2023

You can find many Tensile config yaml files for asm kernels under Tensile/Tests.
You can find files with "asm" for asm kernels.

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

No branches or pull requests

2 participants