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

Copy wmma type files #154

Closed
wants to merge 5 commits into from
Closed

Conversation

CongMa13
Copy link
Collaborator

  1. Copied xfloat32 and type_trait, type_ext files from wmma to hiptensor.
  2. Use type_trait of f16 to replace hard-code number.

- Add CPU implementation of elementwise permutation -  permutationByCpu
- Add sample of elementwise permutation

GPU implementation of elementwise permutation is not done yet.
moved 01_contraction/device/common.hpp -> device/common.hpp
renamed 01_contraction/common.hpp -> utils.hpp since there is already a
file named common.hpp in test folder
- implemented `hiptensorPermutation` with CK
- added unit tests for `hiptensorPermutation`
Data layout of cuTenor is col_major by default. HipTensor contraction
only supports row_major for now. HipTensor supports both col_major
and row_major to make users be able to choose which layout they want to
use.

- Use CMake option `HIPTENSOR_DATA_LAYOUT_COL_MAJOR` to choose layout
new file:   include/native_types.hpp
new file:   include/native_types_impl.hpp
new file:   include/type_traits.hpp
new file:   include/types_ext.hpp
new file:   include/xfloat32.hpp
@CongMa13 CongMa13 closed this Nov 17, 2023
@CongMa13 CongMa13 deleted the copy_wmma_type_files branch May 3, 2024 20:25
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