summaryrefslogtreecommitdiff
path: root/tests/test-progs/gpu-hello/src/gpu-hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-progs/gpu-hello/src/gpu-hello.cpp')
-rwxr-xr-xtests/test-progs/gpu-hello/src/gpu-hello.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-progs/gpu-hello/src/gpu-hello.cpp b/tests/test-progs/gpu-hello/src/gpu-hello.cpp
index b6fff6e32..b054558f5 100755
--- a/tests/test-progs/gpu-hello/src/gpu-hello.cpp
+++ b/tests/test-progs/gpu-hello/src/gpu-hello.cpp
@@ -70,7 +70,7 @@ int
setupDataStructs()
{
msg = (char *)memalign(CACHE_LINE_SIZE, (grid_size + 1) * sizeof(char));
- if(msg == NULL) {
+ if (msg == NULL) {
printf("%s:%d: error: %s\n", __FILE__, __LINE__,
"could not allocate host buffers\n");
exit(-1);
@@ -126,7 +126,7 @@ setupOpenCL()
delete platforms;
}
- if(NULL == platform) {
+ if (NULL == platform) {
printf("NULL platform found so Exiting Application.\n");
return FAILURE;
}