Commit 77198d2e authored by Paul Fuqua's avatar Paul Fuqua
Browse files

Disable the mutex, leave the rest enabled, in case that combo matters.

parent c012dbc9
......@@ -110,7 +110,7 @@ RUN git clone --single-branch --branch ${ONNXRUNTIME_BRANCH} --recursive ${ONNXR
ADD tools/build_and_test_onnxrt.sh /onnxruntime/build_and_test_onnxrt.sh
RUN cget -p /usr/local install ROCmSoftwarePlatform/rocMLIR@2a4b4650fd7e7d71c87c2b8f1f5ac9d302ca2a64 -DBUILD_MIXR_TARGET=On -DLLVM_ENABLE_ZSTD=Off
RUN cget -p /usr/local install ROCmSoftwarePlatform/rocMLIR@2def02c4f363add0480711f64e54a72a4d322d16 -DBUILD_MIXR_TARGET=On -DLLVM_ENABLE_ZSTD=Off -DLLVM_ENABLE_THREADS=Off
ENV MIOPEN_FIND_DB_PATH=/tmp/miopen/find-db
ENV MIOPEN_USER_DB_PATH=/tmp/miopen/user-db
......
......@@ -756,8 +756,8 @@ code_object_op compile_mlir(const context&, module m, const std::vector<instruct
adjust_param_shapes(m, inputs);
const bool trace = enabled(MIGRAPHX_TRACE_MLIR{});
// set mutex while llvm thread support is disabled.
static std::mutex g_mlirc_mutex; // NOLINT
const std::lock_guard<std::mutex> lock(g_mlirc_mutex);
// static std::mutex g_mlirc_mutex; // NOLINT
// const std::lock_guard<std::mutex> lock(g_mlirc_mutex);
if(trace)
std::cout << m << std::endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment