Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions math-libs/pre_hook_hipCUB.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright Advanced Micro Devices, Inc.
# SPDX-License-Identifier: MIT

# Workaround: hipCUB ASAN build failures with BUILD_BENCHMARK=ON.
# 1) Disable ROCMChecks variable_watch before it loads.
# 2) Skip Google Benchmark try_run regex detection (fails under ASAN).
# Remove once upstream fix lands: https://github.com/ROCm/rocm-libraries/pull/6338
set(ROCM_WARN_TOOLCHAIN_VAR OFF CACHE BOOL "" FORCE)
set(HAVE_STD_REGEX ON CACHE BOOL "" FORCE)
set(RUN_HAVE_STD_REGEX 1 CACHE STRING "" FORCE)
Loading