summaryrefslogtreecommitdiff
path: root/tests/test-progs/gpu-hello/src/gpu-hello-kernel.cl
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2016-02-06 17:21:19 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2016-02-06 17:21:19 -0800
commit5592798865ece858bab2b444bc782d19121e2566 (patch)
tree80803048c903c424ed9f1200b5dc1a29ed3ff6b8 /tests/test-progs/gpu-hello/src/gpu-hello-kernel.cl
parentdc8018a5c3482008232e6faaa2d96cf20aed7485 (diff)
downloadgem5-5592798865ece858bab2b444bc782d19121e2566.tar.xz
style: fix missing spaces in control statements
Result of running 'hg m5style --skip-all --fix-control -a'.
Diffstat (limited to 'tests/test-progs/gpu-hello/src/gpu-hello-kernel.cl')
-rwxr-xr-xtests/test-progs/gpu-hello/src/gpu-hello-kernel.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-progs/gpu-hello/src/gpu-hello-kernel.cl b/tests/test-progs/gpu-hello/src/gpu-hello-kernel.cl
index 1f61a6fab..496f9b548 100755
--- a/tests/test-progs/gpu-hello/src/gpu-hello-kernel.cl
+++ b/tests/test-progs/gpu-hello/src/gpu-hello-kernel.cl
@@ -71,7 +71,7 @@ __kernel void read_kernel(size_t code_size,
barrier(CLK_LOCAL_MEM_FENCE);
- if(get_local_id(0) == 0) {
+ if (get_local_id(0) == 0) {
int _lcount = atomic_load(&lcount);
atomic_fetch_add((atomic_int *)chars_decoded, _lcount);
}