We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b016ab commit 054af6bCopy full SHA for 054af6b
src/cudafeat/feature-online-cmvn-cuda.cu
@@ -87,7 +87,7 @@ __global__ void apply_cmvn_kernel(
87
88
for (int c = threadIdx.x; c < num_cols; c += blockDim.x) {
89
float2 frame_stats =
90
- reinterpret_cast<const float2 __restrict__*>(&stats[r * lds])[c];
+ reinterpret_cast<const float2 *__restrict__>(&stats[r * lds])[c];
91
92
float val = feat_in[r * ldi + c];
93
@@ -100,7 +100,7 @@ __global__ void apply_cmvn_kernel(
100
101
// stats at the start row of the window that must be removed
102
float2 ostats =
103
- reinterpret_cast<const float2 __restrict__*>(&stats[o * lds])[c];
+ reinterpret_cast<const float2 *__restrict__>(&stats[o * lds])[c];
104
105
// remove start of the window stats
106
frame_stats = frame_stats - ostats;
0 commit comments