Fixed coding style convention for for() loops

This commit is contained in:
DoZ10
2017-05-01 16:47:54 -04:00
parent 9d0855c02f
commit 8aa389b286
21 changed files with 599 additions and 8 deletions
+4 -4
View File
@@ -148,8 +148,8 @@ __kernel void m00600_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
* loop
*/
for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE) {
for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE)
{
u32x w0[4] = { 0 };
u32x w1[4] = { 0 };
u32x w2[4] = { 0 };
@@ -250,8 +250,8 @@ __kernel void m00600_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
* loop
*/
for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE) {
for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE)
{
u32x w0[4] = { 0 };
u32x w1[4] = { 0 };
u32x w2[4] = { 0 };
+4 -4
View File
@@ -134,8 +134,8 @@ __kernel void m00600_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
u32 w0l = pws[gid].i[0];
for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE) {
for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE)
{
const u32x w0r = words_buf_r[il_pos / VECT_SIZE];
const u32x w0x = w0l | w0r;
@@ -240,8 +240,8 @@ __kernel void m00600_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
u32 w0l = pws[gid].i[0];
for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE) {
for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE)
{
const u32x w0r = words_buf_r[il_pos / VECT_SIZE];
const u32x w0x = w0l | w0r;