Commit 70d2000e authored by Jing Zhang's avatar Jing Zhang
Browse files

fixed example

parent 8fdb7567
......@@ -82,4 +82,7 @@ if(result EQUAL 0)
endif()
add_example_executable(example_gemm_xdl_input_i16_comp_i8_scale_ab gemm_xdl_input_i16_comp_i8_scale_ab.cpp)
add_example_executable(example_gemm_xdl_input_i32_comp_i8_scale_ab gemm_xdl_input_i32_comp_i8_scale_ab.cpp)
if(result EQUAL 0)
add_dependencies(example_gemm_xdl example_gemm_xdl_input_i32_comp_i8_scale_ab)
endif()
......@@ -241,9 +241,7 @@ int main(int argc, char* argv[])
if(!device_op.IsSupportedArgument(argument))
{
throw std::runtime_error(
"wrong! device_gemm with the specified compilation parameters does "
"not support this GEMM problem");
return 0;
}
float ave_time = invoker.Run(argument, StreamConfig{nullptr, time_kernel});
......
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