Skip to content

Commit

Permalink
Merge pull request #6388 from ejparkqc:master
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 634268380
  • Loading branch information
xnnpack-bot committed May 16, 2024
2 parents cc1a3a7 + 21dbb8b commit 7fabcac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/build-qurt-v68.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ fi
CMAKE_ARGS+=("-DXNNPACK_BUILD_LIBRARY=ON")
CMAKE_ARGS+=("-DXNNPACK_BUILD_BENCHMARKS=ON")
CMAKE_ARGS+=("-DXNNPACK_BUILD_TESTS=ON")
CMAKE_ARGS+=("-DXNNPACK_ENABLE_RISCV_VECTOR=OFF")

# Cross-compilation options for Google Benchmark
CMAKE_ARGS+=("-DHAVE_STEADY_CLOCK=0")
Expand Down
2 changes: 1 addition & 1 deletion test/deconvolution-operator-tester.h
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ class DeconvolutionOperatorTester {
for (size_t g = 0; g < groups(); g++) {
for (size_t oc = 0; oc < group_output_channels(); oc++) {
int32_t range = w8dist(rng);
auto weights_dist = std::uniform_int_distribution<int32_t>(std::min(range, 0), std::max(range, 0));
auto weights_dist = std::uniform_int_distribution<int32_t>(std::min<int32_t>(range, 0), std::max<int32_t>(range, 0));
bias[g * group_output_channels() + oc] = f32dist(rng);
for (size_t y = 0; y < kernel_height(); y++) {
for (size_t x = 0; x < kernel_width(); x++) {
Expand Down

0 comments on commit 7fabcac

Please sign in to comment.