Next: Speeding up the Level
Up: Contributing a complete GEMM
Previous: What to do if
  Contents
Forcing ATLAS to use your GEMM
If ATLAS detects you are on a platform where a contributed full GEMM is
superior to ATLAS's large-case GEMM, ATLAS will automatically handle
the details of making ATLAS call the user-contributed routine. If,
however, you wish to force ATLAS to use your GEMM (for instance, you
are testing your code before contribution, or just want to utilize ATLAS
for complete BLAS coverage with your GEMM), you should take
the following steps, after creating the appropriate subdirectory and
API as previously described:
- Edit your Make.<arch> file:
- Change UMMdir to point to your full GEMM's architecture
subdirectory
- Add -DUSERGEMM to the CDEFS macro.
- In ATLAS/src/blas/gemm, touch ATL_gemmXX.c and
ATL_AgemmXX.c to force recompilation
- In ATLAS/src/blas/gemm/<arch> type make lib
- In ATLAS/include/<arch>, issue
- rm ?Xover.h atlas_cacheedge.h
- touch altas_cacheedge.h sXover.h dXover.h cXover.h zXover.h
- In ATLAS/tune/blas/gemm/<arch>, issue:
- rm res/?Xover.h res/atlas_cacheedge.h
- make res/atlas_cacheedge.h
- make res/sXover.h pre=s
- make res/dXover.h pre=d
- make res/cXover.h pre=c
- make res/zXover.h pre=z
Next: Speeding up the Level
Up: Contributing a complete GEMM
Previous: What to do if
  Contents
R. Clint Whaley
2001-08-04