-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Runtime] CutensorMap support #18097
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
Conversation
cc @Hzfengsy |
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.
overall looks good, please fix lint
|
||
class TensorMapTypeNode : public TypeNode { | ||
public: | ||
void VisitAttrs(AttrVisitor* v) { v->Visit("span", &span); } |
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.
does not have to be now, see #18098 to transition to new reflection, i can do that after erge as well
cc @LeiWang1999 |
Should we add a version check? |
@w1049 can you elaborate on the failure cases? |
The
Similar issue: llvm/llvm-project#64529 |
i see, seems we should guard the registration of |
This PR introduces Cutensor map support in the runtime module. It enables calling kernels whose arguments are cuTensorMap, these arguments are passed as handle(address) and associated with arg_extra_tags that indicate indicate it is tensor map. The TensorMap is allocated on stack with a runtime API
This pull request enables support for CutensorMap in both the IR and runtime layers.