Skip to content

Commit

Permalink
Applied clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoo committed Jul 15, 2024
1 parent 997a088 commit cfca63d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/Cuda/Kokkos_CudaSpace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ bool initializeMempool(const int device_id, const cudaStream_t stream,
cudaError_t &error_code) {
error_code = cudaSuccess;

// Interpret env var
// Interpret env var
char *env_string = getenv("EXPERIMENTAL_CUDA_ASYNC_MEMPOOL_SIZE");
if (! env_string ) return true; // Nothing to set, initialization is complete
if (!env_string) return true; // Nothing to set, initialization is complete

// Env var can be a decimal e.g. 2.4g
double factor = 1; // bytes
Expand Down

0 comments on commit cfca63d

Please sign in to comment.