magma_init() takes up to 2 seconds to init
Posted: Thu Aug 24, 2017 7:40 am
Is it normal for magma_init() to take up to 2 seconds to init? And if no, what could cause this?
Thank you in advance!
Thank you in advance!
User discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures), http://icl.utk.edu/magma/
http://icl.utk.edu/magma/forum/
Code: Select all
bunsen magma/testing> ./testing_dgetrf -n 100
% MAGMA 2.1.0 svn compiled for CUDA capability >= 3.5, 32-bit magma_int_t, 64-bit pointer.
% CUDA runtime 7050, driver 7050. OpenMP threads 16. MKL 11.3.0, MKL threads 16.
% device 0: Tesla K40c, 745.0 MHz clock, 11519.6 MiB memory, capability 3.5
% device 1: Tesla K40c, 745.0 MHz clock, 11519.6 MiB memory, capability 3.5
% Thu Aug 24 09:31:53 2017
% Usage: ./testing_dgetrf [options] [-h|--help]
% ngpu 1, version 1
% M N CPU Gflop/s (sec) GPU Gflop/s (sec) |PA-LU|/(N*|A|)
%========================================================================
100 100 --- ( --- ) 0.05 ( 0.01) ---
Code: Select all
thanasis@cuda:/usr/local/magma-2.2.0/testing$ ./testing_dgetrf -n 100
% MAGMA 2.2.0 compiled for CUDA capability >= 3.0, 32-bit magma_int_t, 64-bit pointer.
% CUDA runtime 7050, driver 7050. OpenMP threads 1. MKL 11.3.0, MKL threads 1.
% device 0: Tesla K40c, 745.0 MHz clock, 11519.6 MiB memory, capability 3.5
% Thu Aug 24 19:05:22 2017
% Usage: ./testing_dgetrf [options] [-h|--help]
% ngpu 1, version 1
% M N CPU Gflop/s (sec) GPU Gflop/s (sec) |PA-LU|/(N*|A|)
%========================================================================
100 100 --- ( --- ) 2.36 ( 0.00) ---
thanasis@cuda:/usr/local/magma-2.2.0/testing$
Code: Select all
k20: 1.35 sec
p100: 0.88 sec
k40: 6.21 sec
c2050: 1.15 sec