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

Create operation to copy data from local to device memory with staging #39

Closed
axsaucedo opened this issue Sep 5, 2020 · 0 comments
Closed
Labels
enhancement New feature or request

Comments

@axsaucedo
Copy link
Member

Currently the only way to copy data from the local tensor vector to device memory is when using the OpCreateTensor command, which would handle the creation of the staging tensor. Because of this limitation, the only way to continuously update a tensor for GPU processing after creation is by creating it as type TensorTypes::eStaging and run mapDataIntoHostMemory() after the vector data is updated. There should be a command that enables for the copy to device with a staging tensor, such as OpMapToDevice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant