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

[Lang] Support vector/matrix ndarray arguments in real function #8231

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

lin-hitonami
Copy link
Contributor

@lin-hitonami lin-hitonami commented Jun 27, 2023

Using expand_exprs to expand the ndarray struct doesn't work when the ndarray element type is a tensor.
So I added ExternalTensorBasePtrExpression to get the base ptr of the ndarray and its grad.

Stack from ghstack (oldest at bottom):

@taichi-gardener taichi-gardener merged commit ce0ceeb into gh/lin-hitonami/18/base Jun 29, 2023
taichi-gardener pushed a commit that referenced this pull request Jun 29, 2023
ghstack-source-id: 8aad3bdb368cdad5f6627d819bf5bdc86353ffcb
Pull Request resolved: #8231
@taichi-gardener taichi-gardener deleted the gh/lin-hitonami/18/head branch June 29, 2023 03:58
PGZXB pushed a commit to PGZXB/taichi that referenced this pull request Jul 13, 2023
ghstack-source-id: 8aad3bdb368cdad5f6627d819bf5bdc86353ffcb
Pull Request resolved: taichi-dev#8231
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.

3 participants