Yes, we currently recommend initializing as in the testings.h file. At the moment, a number of MAGMA functions call the CUDA driver API (functions starting with cu instead of cuda). cuInit() and cuCtxCreate() must be called before calling the CUDA driver API. In a future release, MAGMA's use of these functions will likely disappear. -mark