Skip to content

Commit

Permalink
check thread sdres sanitizer error reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehmet Yusufoglu committed Jan 26, 2024
1 parent 8a7a920 commit 72242b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/convolution2D/src/convolution2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,7 @@ auto main() -> int
printf("Matrix Size: %d x %d, Filter Size: %d x %d\n", matrixWidth, matrixHeight, filterWidth, filterWidth);
for(size_t i{0}; i < matrixWidth * matrixHeight; i++)
{
DataType const& val(alpaka::getPtrNative(resultGpuHost)[i]);
std::cout << "output[" << i << "]:" << std::setprecision(3) << val << std::endl;
std::cout << "output[" << i << "]:" << std::setprecision(3) << resultGpuHost[i] << std::endl;
}
return EXIT_SUCCESS;
}

0 comments on commit 72242b1

Please sign in to comment.