Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

C Matrix data load store api and functionality #1

Open
1 of 4 tasks
aditya4d1 opened this issue Jul 3, 2018 · 0 comments
Open
1 of 4 tasks

C Matrix data load store api and functionality #1

aditya4d1 opened this issue Jul 3, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@aditya4d1
Copy link
Contributor

aditya4d1 commented Jul 3, 2018

API

C Matrix Load

//
// Used to load C Matrix in an optimal way by using as few registers as possible
// Output: returns a new vector of c data elements
//
std::vector<llvm::Value*> LoadCMatrix(llvm::IRBuilder<>& builder, 
llvm::LLVMContext& context, llvm::Value* ptr, llvm::Value* workitem_index,
std::vector<size_t> indices, std::vector<bool> is_relative_indices);

C Matrix Store

//
// Used to store C Matrix in an optimal way
//
void StoreCMatrix(llvm::IRBuilder<>& builder,
llvm::LLVMContext& context, llvm::Value* ptr, llvm::Value* workitem_index,
std::vector<size_t> indices, std::vector<bool> is_relative_indices,
std::vector<llvm::Value*> c_values);
  • API support for Load
  • API support for Store
  • Add support for different gfx architectures
  • Use immediate mode addressing for gfx9 using offset field for global loads
@aditya4d1 aditya4d1 added the enhancement New feature or request label Jul 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant