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

Kernels source code are not generated #1769

Open
mabdallah89 opened this issue Sep 5, 2023 · 0 comments
Open

Kernels source code are not generated #1769

mabdallah89 opened this issue Sep 5, 2023 · 0 comments

Comments

@mabdallah89
Copy link

While I am trying to create library with HIP source code, the ".co" files are generated, however, I do not see the source HIP code (.h and .cc) are generated in the "Kernels" folder. Even though, the output says source kernels are generated. Any help, please? I want to see and access the optimized HIP implementation code.

command used:

../Tensile/bin/TensileCreateLibrary --code-object-version V5 ./3_LibraryLogic/ ./lib HIP

Output:

# CodeObjectVersion from TensileCreateLibrary: V5
# CxxCompiler       from TensileCreateLibrary: hipcc
# Architecture      from TensileCreateLibrary: all
# LibraryFormat     from TensileCreateLibrary: msgpack
# LibraryLogicFiles:
#   ./3_LibraryLogic/navi21_Cijk_Ailk_Bljk_SB.yaml
Reading logic files: Launching 32 threads for 1 tasks...
Reading logic files: Done.
[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||] 100% (0.0 secs elapsed)
# Writing Custom CMake
# Writing Kernels...
Generating kernels: Launching 32 threads...
Generating kernels: Done.                                                                                                *
Compiling source kernels: Launching 32 threads...
Compiling source kernels: Done.                                                                                          *
# Kernel Building elapsed time = 0.3 secs
# Tensile Library Writer DONE
################################################################################

Kernels folder:

:~/tensile/repo/build/lib$ ls
Generated.cmake  KernelHeader.h  library             tensile_float8_bfloat8.h
hip_f8_impl.h    Kernels         tensile_bfloat16.h  TensileTypes.h
:~/tensile/repo/build/lib$ cd Kernels/
:~/tensile/repo/build/lib/Kernels$ ls
:~/tensile/repo/build/lib/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

1 participant