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

OpenCL - GPU power #230369

Closed
Jopp-gh opened this issue Oct 3, 2024 · 2 comments
Closed

OpenCL - GPU power #230369

Jopp-gh opened this issue Oct 3, 2024 · 2 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@Jopp-gh
Copy link

Jopp-gh commented Oct 3, 2024

Problem

Vscode doesn't take advantage on GPU computing power.

Feature request

VSCode should use the power of GPUs (Amd/Nvidia) to leverage additional computing power on desktop PC's.

Applications which drain a lot of resources should follow good practices and include the use of available resources (GPU too, not "only CPU") when necessary of course. OpenCL is a great framework. Please see reference at bottom page

Alternatives

There's no existing feature request asking for the implementation of OpenCL in Vscode

Reference

https://en.m.wikipedia.org/wiki/OpenCL

@Tyriar
Copy link
Member

Tyriar commented Oct 4, 2024

We improve performance on a case-by-case basis. For the majority of tasks, JS with a JIT is plenty fast, for specialized cases we consider workers, wasm or leveraging the GPU (eg. #221145, https://code.visualstudio.com/docs/terminal/appearance#_gpu-acceleration).

@Tyriar Tyriar closed this as completed Oct 4, 2024
@Tyriar Tyriar added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Oct 4, 2024
@Jopp-gh
Copy link
Author

Jopp-gh commented Oct 4, 2024

Indeed, usually VsCode's performance isn't bad.

Just sometimes Vscode encounters issues, like in following cases:

  • the loading of multiple workspaces with multiple tabs (eg a dozen of documents) with around ~200 - 10000 lines of code each,
  • loading of code, which isn't recognized correctly and struggles with the "right" formatting
  • auto complete plugins that interfere with compiling or string completitions

So I thought (with exclusion of the latter - "plugins" which can be fixed easily by users themselves by deleting, updating or replacing such plugins), that Vscode could use more resources. But not for the simple purpose to add just "more resources" but to kick in and balance workload between GPU and CPU. So, my modern rig is bothered less when dealing with heavier processes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants