Linter plugin for Linter, provides an interface to the build functionality of OpenCL through node-opencl.
On systems with hybrid graphics, OpenCL will compile and lint for the
integrated graphics card by default. While Windows users just need to set the
platform index of the desired platform, Linux users who wants to use the
dedicated graphics card need to run atom through a GPU offloader like
optirun
, e.g.
$ optirun atom
and setting the platform index accordingly.
When activating this package, it searches for a file called
.opencl-config.json
in the project root directory using the following
syntax:
{
"compilerFlags": "-cl-mad-enable -cl-fast-relaxed-math",
"includePaths": [".", "/opt/include"]
}
If this file is present, it will replace the settings you specified in the
settings window. Relative paths (starting with .
or ..
) are
expanded with respect to the root folder.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.