I am looking for the time differences between local computation and remote one and I am searching inside the functions. (Other ideas will be welcomed)
Taking testing_dorgqr_m example, Time Measurement code is:
Code: Select all
gpu_time = magma_wtime();
magma_dorgqr_m( m, n, k, hR, lda, tau, hT, nb, &info );
gpu_time = magma_wtime() - gpu_time;
gpu_perf = gflops / gpu_time;
Code: Select all
magma_dsetmatrix( m, n, hA, lda, dA, ldda );
magma_dgeqrf_gpu( m, n, dA, ldda, tau, dT, &info );
magma_dgetmatrix( m, n, dA, ldda, hR, lda );
magma_dgetmatrix( nb, min_mn, dT, nb, hT, nb );
Example:
Code: Select all
cudaLaunch (dgemm_sm35_ldg_tn_64x8x128x8x32 [765])
cudaLaunch (void trmm_right_kernel_core<double, int=256, int=4, int=128, bool=0, bool=1, bool=0, bool=0, bool=1>(cublasTrmmParams<double>, double, int) [774])