Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8
OpenCL for Visual Studio Code
License
NotificationsYou must be signed in to change notification settings
Galarius/vscode-opencl
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This extension addsOpenCL C/C++ language support toVS Code.
- Auto Completion of Built-in OpenCL Symbols
- Built-in OpenCL API Reference
- Code Snippets
- Kernel Diagnostics
- Kernel Formatting
- Offline Kernel Compilation
- OpenCL C/C++ Syntax Highlighting
- OpenCL Compute Kernel Support (
*.cl,*.ocl) - OpenCL Devices Information
| Feature | Requirements |
|---|---|
Kernel Diagnostics | OpenCL Runtime [Intel,NVidia,AMD] |
OpenCL Devices Information | OpenCL Runtime [Intel,NVidia,AMD] |
Offline Kernel Compilation | Intel® SDK for OpenCL™ 2019 [Windows, Linux] orOpenCL.framework [macOS] (shipped with XCode) |
Kernel Formatting | Formatting feature requiresclang-format. By default, the extension searches for the utility insidems-vscode.cpptools extension. |
| Setting | Description |
|---|---|
| Kernel Diagnostics | |
OpenCL.server.enable | Enables OpenCL Language Server. |
OpenCL.server.buildOptions | Build options to be used for building the program. The list ofsupported build options. |
OpenCL.server.deviceID | Device ID or 0 (automatic selection) of the OpenCL device to be used for diagnostics. Use theOpenCL: Select command or theOpenCL Devices explorer actions to specify the identifier. |
OpenCL.server.maxNumberOfProblems | Controls the maximum number of problems produced by the server. |
opencl.trace.server | Traces the communication between VS Code and the OpenCL language server. |
| OpenCL Devices Information | |
OpenCL.explorer.localizedProperties | Show localized properties of OpenCL devices in the explorer view (uncheck to show raw OpenCL properties). |
| Kernel Formatting | |
OpenCL.formatting.name | Default formatting utility is 'clang-format', which is shipped withms-vscode.cpptools extension. Specify an absolute path to use another version ofclang-format. |
| Command | Description |
|---|---|
OpenCL: Info | This command opens a new VS Code tab filled with the information about available OpenCL devices |
OpenCL: Select | Select the OpenCL device for kernel diagnostics |
OpenCL: Toggle View | Toggle the explorer view (display localized or raw properties) |
This extension provides predefined set of VS Code tasks for kernel compilation usingioc32/ioc64 oropenclc (on macOS).
SeeTASKS.md for details.
SeeFAQ.md for known issues.
OpenCL is the trademark of Apple Inc.
About
OpenCL for Visual Studio Code
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.