Kernel run_test script can test for errors (expected or otherwise).
Added tests for data-race detection.
Added --data-races flag and OCLGRIND_DATA_RACES environment variable.
Simple data-race detection by tracking read/written status.
Added more tests for various types of data races.
Data race detection diagnostics improved.
Ensure that current work-group and work-item are NULL initialized.
Implemented inttoptr instruction.
Added simple tests for invalid memory accesses.
Added tests for barrier divergence and local race with a global fence.
Added async_work_group_copy tests.
Added terminating null when reading source in oclgrind-kernel.
Fence flags in work-group barriers now honoured.
Added tests for data races involving atomics.
Moved atomic operations into Memory class.
Added tests for atomics with fences.
Added atomic_intergorup_race test.
Added basic race detection atomics mixed with non-atomics.
Write-write data races only reported if data written is different.
Fixed global ID printing for data race work-item.