Using a binary kernel from the command line

OK, let us say you have a kernel object file, called new_b1.o which you have compiled/assembled/created using the magnetic field of the earth. You want to test and time it on the command line. For the DGEMM kernel, this would be simply:
   make ummcase mmrout=CASES/ATL_objdummy.c DMC=./xccobj \
        DMCFLAGS="--name new" nb=30 beta=1
   make mmutstcase mmrout=CASES/ATL_objdummy.c DMC=./xccobj \
        DMCFLAGS="--name new" nb=30 beta=1
Note that ATL_objdummy.c could be any file that exists in the indicated directory (does not need to be a compilable file), and that we do not specify the beta case (done using the tester/timer machinery) or the objdir (because we placed the kernel in the default directory).



Clint Whaley 2012-07-10