Skip to content

Commit

Permalink
Adjust indentation and add last new line
Browse files Browse the repository at this point in the history
  • Loading branch information
HamletTanyavong committed Aug 22, 2024
1 parent 71b74b0 commit b43b7ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/Mathematics.NET/GPU/OpenCL/Kernels/comp_mat_mul.cl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__kernel void comp_mat_mul(__global const complex* matA,
__global const complex* matB,
int const k,
__global complex* result)
__global const complex* matB,
int const k,
__global complex* result)
{
int row = get_global_id(0);
int col = get_global_id(1);
Expand All @@ -22,4 +22,4 @@ __kernel void comp_mat_mul(__global const complex* matA,
}

result[row * width + col] = sum;
}
}
4 changes: 2 additions & 2 deletions src/Mathematics.NET/GPU/OpenCL/Kernels/comp_vec_mul_scalar.cl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__kernel void comp_vec_mul_scalar(__global const complex* vector,
const complex scalar,
__global complex* result)
const complex scalar,
__global complex* result)
{
int i = get_global_id(0);
result[i] = comp_mul(vector[i], scalar);
Expand Down

0 comments on commit b43b7ca

Please sign in to comment.