Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When recursive is disabled, first gpu is at index 1 #111

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/testing_zgemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ static void warmup_zgemm(int rank, int nodes, int random_seed, parsec_context_t

/* Now do the other devices, skipping RECURSIVE */
/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
for(int i = 0; i < MT; i++) {
for(int j = 0; j < NT; j++) {
if( rank == (int)dcC.super.super.rank_of(&dcC.super.super, i, j) ) {
Expand Down
3 changes: 2 additions & 1 deletion tests/testing_zgemm_dtd.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,8 @@ static void warmup_zgemm(int rank, int nodes, int random_seed, parsec_context_t

/* Now do the other devices, skipping RECURSIVE */
/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
for(int i = 0; i < MT; i++) {
for(int j = 0; j < NT; j++) {
if( rank == (int)dcC.super.super.rank_of(&dcC.super.super, i, j) ) {
Expand Down
3 changes: 2 additions & 1 deletion tests/testing_zgeqrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,8 @@ static void warmup_zgeqrf(int rank, int random_seed, parsec_context_t *parsec)
dplasma_zgeqrf_Destruct(zgeqrf);

/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
for(int i = 0; i < MT; i++) {
for(int j = 0; j < NT; j++) {
parsec_data_t *dta = dcA.super.super.data_of(&dcA.super.super, i, j);
Expand Down
3 changes: 2 additions & 1 deletion tests/testing_zgeqrf_dtd.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,8 @@ static void warmup_zgeqrf(int rank, int random_seed, parsec_context_t *parsec)
dplasma_zgeqrf_Destruct(zgeqrf);

/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
for(int i = 0; i < MT; i++) {
for(int j = 0; j < NT; j++) {
parsec_data_t *dta = dcA.super.super.data_of(&dcA.super.super, i, j);
Expand Down
3 changes: 2 additions & 1 deletion tests/testing_zgeqrf_dtd_untied.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,8 @@ static void warmup_zgeqrf(int rank, int random_seed, parsec_context_t *parsec)
dplasma_zgeqrf_Destruct(zgeqrf);

/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
for(int i = 0; i < MT; i++) {
for(int j = 0; j < NT; j++) {
parsec_data_t *dta = dcA.super.super.data_of(&dcA.super.super, i, j);
Expand Down
3 changes: 2 additions & 1 deletion tests/testing_zpoinv.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ static void warmup_zpoinv(int rank, dplasma_enum_t uplo, int random_seed, parsec

/* Now do the other devices, skipping RECURSIVE */
/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
if(PARSEC_MATRIX_LOWER == uplo) {
for(int i = 0; i < MT; i++) {
for(int j = 0; j <= i; j++) {
Expand Down
3 changes: 2 additions & 1 deletion tests/testing_zpotrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ static void warmup_zpotrf(int rank, dplasma_enum_t uplo, int random_seed, parsec

/* Now do the other devices, skipping RECURSIVE */
/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
if(PARSEC_MATRIX_LOWER == uplo) {
for(int i = 0; i < MT; i++) {
for(int j = 0; j <= i; j++) {
Expand Down
3 changes: 2 additions & 1 deletion tests/testing_zpotrf_dtd.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ static void warmup_zpotrf(int rank, dplasma_enum_t uplo, int random_seed, parsec

/* Now do the other devices, skipping RECURSIVE */
/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
if(PARSEC_MATRIX_LOWER == uplo) {
for(int i = 0; i < MT; i++) {
for(int j = 0; j <= i; j++) {
Expand Down
3 changes: 2 additions & 1 deletion tests/testing_zpotrf_dtd_untied.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ static void warmup_zpotrf(int rank, dplasma_enum_t uplo, int random_seed, parsec

/* Now do the other devices, skipping RECURSIVE */
/* We know that there is a GPU-enabled version of this operation, so warm it up if some device is enabled */
for(did = 2; did < (int)parsec_nb_devices; did++) {
for(did = 1; did < (int)parsec_nb_devices; did++) {
if(!parsec_mca_device_is_gpu(did)) continue;
if(PARSEC_MATRIX_LOWER == uplo) {
for(int i = 0; i < MT; i++) {
for(int j = 0; j <= i; j++) {
Expand Down
Loading