Skip to content

Commit

Permalink
Fix the name of evironment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
enp1s0 committed May 2, 2021
1 parent 2bd5ab5 commit e86b88f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cublas.cu
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ cublasStatus_t cublasSgemm_v2(cublasHandle_t handle, cublasOperation_t transa,
CULIBPROFILER_DEBUG_PRINT(printf("[CULiP Debug][%s] start\n", __func__));

// Get the real library path
const char* cublas_lib_path = getenv("CLP_CUBLAS_LIB_PATH");
const char* cublas_lib_path = getenv("CULIP_CUBLAS_LIB_PATH");
if (cublas_lib_path == NULL) {
fprintf(stderr, "[CULiP ERROR] CLP_CUBLAS_LIB_PATH is not set\n");
fprintf(stderr, "[CULiP ERROR] CULIP_CUBLAS_LIB_PATH is not set\n");
exit(1);
}
CULIBPROFILER_DEBUG_PRINT(printf("[CULiP Debug][%s] %s is loaded\n", __func__, cublas_lib_path));
Expand Down

0 comments on commit e86b88f

Please sign in to comment.