To install oclgrind just follow these instructions.
sudo apt-get install oclgrind
Which will install oclgrind and any other packages on which it depends.
|Maintainer||Debian OpenCL Maintainers <firstname.lastname@example.org>|
|Description||OpenCL device simulator plugin interface to facilitate the creation of tools to aid analysis and development of OpenCL programs. Among the tools that Oclgrind provides are various debugging aids, such as out-of-bounds memory access checking, data-race detection, and an interactive debugger.|