Skip to content

Commit

Permalink
Merge pull request #25 from bekorn/patch-1
Browse files Browse the repository at this point in the history
add a new AMD gpu name to tiny_ocl.h
  • Loading branch information
jbikker authored Nov 20, 2024
2 parents 3514cae + 23f86ff commit b4fc8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tiny_ocl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ bool Kernel::InitCL()
if (strstr( d, "titan x" )) isPascal = true;
}
}
else if (strstr( d, "amd" ) || strstr( d, "ellesmere" ) || strstr( d, "gfx1100" ) || strstr( d, "AMD" )) // JdW
else if (strstr( d, "amd" ) || strstr( d, "ellesmere" ) || strstr( d, "gfx1100" ) || strstr( d, "gfx1031" ) || strstr( d, "AMD" )) // JdW
{
isAMD = true;
}
Expand Down Expand Up @@ -1156,4 +1156,4 @@ void Kernel::Run2D( const oclint2 count, const oclint2 lsize, cl_event* eventToW

#endif

#endif
#endif

0 comments on commit b4fc8b1

Please sign in to comment.