"tests/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "b4297967a04cca6ac4493202c02d81c30d0f9ee8"
Unverified Commit 61851ae2 authored by Chao Liu's avatar Chao Liu Committed by GitHub
Browse files

minor fix for recent PR (#255)

* minor fix

* clean
parent 40b59a63
......@@ -325,7 +325,7 @@ struct DynamicBuffer
{
if(is_valid_element)
{
atomic_add(c_style_pointer_cast<X*>(&p_data_[i]), x);
atomic_add<X>(c_style_pointer_cast<X*>(&p_data_[i]), x);
}
}
}
......
......@@ -26,8 +26,7 @@ int main(int argc, char* argv[])
{
if(strcmp(argv[1], "gemm") == 0)
{
int stat = profile_gemm(argc, argv);
return stat;
return profile_gemm(argc, argv);
}
else if(strcmp(argv[1], "gemm_bias_2d") == 0)
{
......@@ -55,7 +54,7 @@ int main(int argc, char* argv[])
}
else if(strcmp(argv[1], "grouped_gemm") == 0)
{
profile_grouped_gemm(argc, argv);
return profile_grouped_gemm(argc, argv);
}
else if(strcmp(argv[1], "conv_fwd") == 0)
{
......
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