Commit 1286072a authored by qinletao's avatar qinletao
Browse files

fix get name issue

parent 04397fa0
...@@ -63,7 +63,7 @@ inline std::string get_device_name() ...@@ -63,7 +63,7 @@ inline std::string get_device_name()
int main() int main()
{ {
if(get_device_name() != "gfx90a") if(get_device_name().find("gfx90a") == std::string::npos)
{ {
std::cout << "TestGemm ..... SUCCESS" << std::endl; std::cout << "TestGemm ..... SUCCESS" << std::endl;
return 0; return 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