Running MAGMA (GPU) code with MAGMA MIC
Posted: Fri Nov 14, 2014 7:28 pm
So, I've finally got all my code up and running using MAGMA and an Nvidia C2050 GPU. I'm calling the MAGMA routines from Fortran using a combination of the provided Fortran wrappers (e.g. calling magmaf_[myfunction]) and wrappers that I have written to allocate device memory and send the provided matrices/vectors to the device, etc. This wrapper is similar to Cublas' fortran_thunking, but all variables and calls use magma routines (magma_zmalloc, malloc_zsetmatrix, etc).
Soon, I'll be installing an Intel Phi on my workstation and will have a very short timeframe for getting some testing done using MAGMA.
My question is: when I install MAGMA MIC and start the server on the MIC, can I simply simply recycle my code with the correct flags to run it on the Phi?
Soon, I'll be installing an Intel Phi on my workstation and will have a very short timeframe for getting some testing done using MAGMA.
My question is: when I install MAGMA MIC and start the server on the MIC, can I simply simply recycle my code with the correct flags to run it on the Phi?