diff --git a/src/arraymancer/laser/primitives/matrix_multiplication/gemm.nim b/src/arraymancer/laser/primitives/matrix_multiplication/gemm.nim index c51b0d7f..e900351d 100644 --- a/src/arraymancer/laser/primitives/matrix_multiplication/gemm.nim +++ b/src/arraymancer/laser/primitives/matrix_multiplication/gemm.nim @@ -11,7 +11,8 @@ import # This import is needed for our current docgen. Otherwise it fails # on this submodule. -from ../../tensor/datatypes import KnownSupportsCopyMem +when defined(nimdoc): + from ../../tensor/datatypes import KnownSupportsCopyMem when defined(i386) or defined(amd64): import ../../cpuinfo_x86