Commit 5adb597c authored by Paul's avatar Paul
Browse files

Update macro in tests

parent ab096227
...@@ -87,7 +87,7 @@ TEST_CASE(gemm_tune_with_rocblas) ...@@ -87,7 +87,7 @@ TEST_CASE(gemm_tune_with_rocblas)
break; break;
} }
} }
#ifdef ROCBLAS_BETA_FEATURES_API #ifdef MIGRAPHX_USE_ROCBLAS_TUNING_API
EXPECT(0 != solution_idx.to<std::size_t>()); EXPECT(0 != solution_idx.to<std::size_t>());
#else #else
EXPECT(0 == solution_idx.to<std::size_t>()); EXPECT(0 == solution_idx.to<std::size_t>());
...@@ -129,7 +129,7 @@ TEST_CASE(gemm_tune_strided) ...@@ -129,7 +129,7 @@ TEST_CASE(gemm_tune_strided)
break; break;
} }
} }
#ifdef ROCBLAS_BETA_FEATURES_API #ifdef MIGRAPHX_USE_ROCBLAS_TUNING_API
EXPECT(0 != solution_idx.to<std::size_t>()); EXPECT(0 != solution_idx.to<std::size_t>());
#else #else
EXPECT(0 == solution_idx.to<std::size_t>()); EXPECT(0 == solution_idx.to<std::size_t>());
...@@ -175,7 +175,7 @@ TEST_CASE(gemm_tune_strided_lowered) ...@@ -175,7 +175,7 @@ TEST_CASE(gemm_tune_strided_lowered)
break; break;
} }
} }
#ifdef ROCBLAS_BETA_FEATURES_API #ifdef MIGRAPHX_USE_ROCBLAS_TUNING_API
EXPECT(0 != solution_idx.to<std::size_t>()); EXPECT(0 != solution_idx.to<std::size_t>());
#else #else
EXPECT(0 == solution_idx.to<std::size_t>()); EXPECT(0 == solution_idx.to<std::size_t>());
...@@ -215,7 +215,7 @@ TEST_CASE(gemm_tune_invalid_sol_index) ...@@ -215,7 +215,7 @@ TEST_CASE(gemm_tune_invalid_sol_index)
break; break;
} }
} }
#ifdef ROCBLAS_BETA_FEATURES_API #ifdef MIGRAPHX_USE_ROCBLAS_TUNING_API
EXPECT(0 == solution_idx.to<std::size_t>()); EXPECT(0 == solution_idx.to<std::size_t>());
#else #else
EXPECT(0 != solution_idx.to<std::size_t>()); EXPECT(0 != solution_idx.to<std::size_t>());
......
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