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

[GPU / OpenCL] Moving buffer creation from inside of a layer to Tensor, i.e., update Tensor to support multiple ComputingEngine #2812

Open
EunjuYang opened this issue Nov 29, 2024 · 1 comment
Labels
DISCUSSION enhancement New feature or request

Comments

@EunjuYang
Copy link
Contributor

As Jijoong mentioned here, the current GPU handles 'opencl::Buffer' directly in all computations (every BLAS, layer operation, etc.). This can lead to several issues such as:

  1. Incoherent interfaces between different compute units:
    • The current CPU computations utilize Tensors instead of memory buffers directly.
    • It would be more suitable if GPUs also used Tensors as input and output for their operations.
  2. Latency and overhead for each computation:
    • Creating a buffer at runtime adds unnecessary latency.
@EunjuYang EunjuYang added enhancement New feature or request DISCUSSION labels Nov 29, 2024
@taos-ci
Copy link
Collaborator

taos-ci commented Nov 29, 2024

:octocat: cibot: Thank you for posting issue #2812. The person in charge will reply soon.

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

No branches or pull requests

2 participants