Skip to content

Commit

Permalink
Revert "[Batchnorm][ASM] Disabling ASM kernel for unsupported target …
Browse files Browse the repository at this point in the history
…(gfx940) (#1312)"

This reverts commit cd0d942.
  • Loading branch information
atamazov committed Dec 6, 2021
1 parent 62a3b2d commit 81995f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/solver/batchnorm/backward_spatial_single.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,9 @@ BnBwdTrainingSpatialSingle::GetSolution(const ExecutionContext& context,
(StartsWith(handle.GetDeviceName(), "gfx8") ||
(StartsWith(handle.GetDeviceName(), "gfx9")
#if WORKAROUND_ISSUE_1146
&&
(handle.GetDeviceName() != "gfx90a")
&& (handle.GetDeviceName() != "gfx90a")
#endif
&&
(handle.GetDeviceName() != "gfx940"))) &&
)) &&
(!handle.GetTargetProperties().Xnack() || !*handle.GetTargetProperties().Xnack()))
{
kernel.kernel_file = "gcnAsmBNBwdTrainSpatial.s";
Expand Down

0 comments on commit 81995f4

Please sign in to comment.