In matlab use
gpuDevice()
to query information about the GPU. This will tell you whether you can use your GPU with CUDA.

SOMT = Scalar Optimal Mass Transport
this is the standard earthmover's distance

SOMT_tester.m shows how to compile and use the scalar OMT CUDA code



VOMT and MOMT = Vector and Vatrix OM
*_tester.m illustrates how to use them.