From 2a9c198b12fb7b84d38c1343d6dae7e59e392404 Mon Sep 17 00:00:00 2001 From: Alycia Lisito <alycia.lisito@inria.fr> Date: Wed, 6 Apr 2022 16:20:34 +0200 Subject: [PATCH] constant: corrected chameleon_job_e --- coreblas/compute/global.c | 9 ++++++--- cudablas/compute/cudaglobal.c | 17 ++++++++++------- include/chameleon/constants.h | 9 ++++++--- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/coreblas/compute/global.c b/coreblas/compute/global.c index e08888e0d..8b72d7b85 100644 --- a/coreblas/compute/global.c +++ b/coreblas/compute/global.c @@ -162,9 +162,12 @@ char *chameleon_lapack_constants[] = "", // 300 "No vectors", // 301 ChamNoVec - "Vectors needed", // 302 ChamVec - "I", // 303 ChamIvec - "", "", "", "", "", "", + "Vectors needed", // 302 ChamVec, ChamSVDvrange + "I", // 303 ChamIvec, ChamSVDirange + "A", // 304 ChamAllVec, ChamSVDall + "S", // 305 ChamSVec + "O", // 306 ChamOVec + "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", diff --git a/cudablas/compute/cudaglobal.c b/cudablas/compute/cudaglobal.c index 4c460a0c7..130fa700f 100644 --- a/cudablas/compute/cudaglobal.c +++ b/cudablas/compute/cudaglobal.c @@ -103,9 +103,12 @@ int chameleon_cublas_constants[] = 0, // 299 0, // 300 0, // 301 ChamNoVec - 0, // 302 ChamVec - 0, // 303 ChamIvec - 0, 0, 0, 0, 0, 0, + 0, // 302 ChamVec, ChamSVDvrange + 0, // 303 ChamIvec, ChamSVDirange + 0, // 304 ChamAllVec, ChamSVDall + 0, // 305 ChamSVec + 0, // 306 ChamOVec + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -115,10 +118,10 @@ int chameleon_cublas_constants[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 390 - 0, // 391 - 0, // 392 + 0, // 391 Forward + 0, // 392 Backward 0, 0, 0, 0, 0, 0, 0, 0, - 0, // 401 - 0, // 402 + 0, // 401 Columnwise + 0, // 402 Rowwise 0, 0, 0, 0, 0, 0, 0, 0 // Remember to add a coma! }; diff --git a/include/chameleon/constants.h b/include/chameleon/constants.h index 79bce66b4..71b18d8d4 100644 --- a/include/chameleon/constants.h +++ b/include/chameleon/constants.h @@ -156,9 +156,12 @@ typedef enum chameleon_sym_e { * @brief Singular/Eigen vector job description */ typedef enum chameleon_job_e { - ChamNoVec = 301, - ChamVec = 302, - ChamIvec = 303, + ChamNoVec = 301, + ChamVec = 302, + ChamIvec = 303, + ChamAllVec = 304, + ChamSVec = 305, + ChamOVec = 306, } cham_job_t; /** -- GitLab