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

Cmake add kernels #296

Closed
wants to merge 15 commits into from
Closed

Cmake add kernels #296

wants to merge 15 commits into from

Conversation

devreal
Copy link
Contributor

@devreal devreal commented Aug 6, 2024

No description provided.

nileshchat and others added 15 commits June 21, 2024 13:56
Signed-off-by: nileshChaturvedi <nilesh.chaturvedi@stonybrook.edu>
Signed-off-by: nileshChaturvedi <nilesh.chaturvedi@stonybrook.edu>
Signed-off-by: nileshChaturvedi <nilesh.chaturvedi@stonybrook.edu>
Wraps a ttg::Buffer and provides NDIM-dimensional tensor.

Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
TensorSlice can be used without the underlying Tensor and
only stores a pointer plus the modified Slice information.
It can thus be easily copied between memory spaces, provided
that the TensorSlice was created from a TensorView on the
right memory space.


Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
This needs to be carefully investigated: when moving a Tensor
into another Tensor the underlying Buffer does not register its data
properly because the buffer thinks it's already been moved.

This change forces re-registration everytime but there might be a catch...

Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
Had to copy a bunch of headers to remove the SimpleTensor/FixedTensor
and adjust for potential compilation in CUDA context.
Does not yet compile because we cannot co_await from within
a function that is not a coroutine. Need to come up with a way to
switch between coroutines inside a task.

Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
@devreal devreal requested a review from nileshchat August 6, 2024 18:49
@devreal devreal closed this Aug 6, 2024
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.

2 participants