concept path variable in category opencl
appears as: PATH variable, path variable

This is an excerpt from Manning's book OpenCL in Action: How to Accelerate Graphics and Computation.
Add a line in .bashrc to update the PATH variable so that it includes the SDK directory. On my system, this looks like the following:
export PATH=$NVSDKCOMPUTE_ROOT/bin:$PATH
Under the System Variables heading, scroll down and double-click the Path variable. Add C:\MinGW\bin to the directories that Windows will search when you execute a command from the command line, and remember to separate the directory from the others with a semicolon.