Allows CudaMat to be called from Julia