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 fef5505 commit 07b286eCopy full SHA for 07b286e
libs/core/include/cuda-qx/core/tensor_impl.h
@@ -74,7 +74,7 @@ class tensor_impl
74
scalar_type *scalar_data = new scalar_type[size]();
75
auto result = iter->second(scalar_data, {num_rows, num_cols});
76
for (size_t r = 0; r < num_rows; r++) {
77
- Scalar __restrict__ *resultRow = &result->at({r, 0});
+ Scalar *__restrict__ resultRow = &result->at({r, 0});
78
for (size_t c = 0; c < num_cols; c++) {
79
resultRow[c] = data[r][c] - '0';
80
}
0 commit comments