Skip to content

Commit

Permalink
remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
CyprienBosserelle committed Mar 30, 2022
1 parent d96bc36 commit 7096b57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Halo.cu
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ template <class T> void fillHaloLeftRightGPU(Param XParam, BlockP<T> XBlock, cud
{

dim3 blockDimHaloLR(1, 16, 1);
dim3 blockDimHaloBT(16, 1, 1);
//dim3 blockDimHaloBT(16, 1, 1);
dim3 gridDim(XParam.nblk, 1, 1);


Expand All @@ -317,7 +317,7 @@ template void fillHaloLeftRightGPU<float>(Param XParam, BlockP<float> XBlock, cu
template <class T> void fillHaloBotTopGPU(Param XParam, BlockP<T> XBlock, cudaStream_t stream, T* z)
{

dim3 blockDimHaloLR(1, 16, 1);
//dim3 blockDimHaloLR(1, 16, 1);
dim3 blockDimHaloBT(16, 1, 1);
dim3 gridDim(XParam.nblk, 1, 1);

Expand Down
4 changes: 2 additions & 2 deletions src/ReadForcing.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ template <class T> void readbathyMD(std::string filename, T*& zb)
// Shit that doesn'y wor... Needs fixing
int nx;
//int ny;
float dx;
//float dx;
std::ifstream fs(filename);

if (fs.fail()) {
Expand Down Expand Up @@ -1425,7 +1425,7 @@ template <class T> void readbathyMD(std::string filename, T*& zb)

nx = std::stoi(lineelements[0]);
//ny = std::stoi(lineelements[1]);
dx = std::stof(lineelements[2]);
//dx = std::stof(lineelements[2]);
//grdalpha = std::stof(lineelements[4]);
}

Expand Down

0 comments on commit 7096b57

Please sign in to comment.