-
Notifications
You must be signed in to change notification settings - Fork 222
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
Tensor setup via method chaining #182
Comments
I like the idea of chaining, but what do you mean by setAddress? |
Oh, It's about @Knight-X's mem allocation optimization pass. |
aka. offline memory planning |
The naming is just for illustrating the idea. |
Force addressing here is kinda scary, especially if you rope in linker scripts like most people do in production environments |
Oh, linker scripts. |
Method chaining can also be done super efficiently :D |
Sth like this:
It'll be a lot easier to design a template for the code generator if we have many mechanism to control how tensor behave at the runtime.
Mostly mem allocation for now, but I can see there'll be more to come in the future.
The text was updated successfully, but these errors were encountered: