Skip to content

Commit

Permalink
Merge pull request #40 from eth-cscs/release/v1.0.1
Browse files Browse the repository at this point in the history
Release/v1.0.1
  • Loading branch information
AdhocMan authored Jan 21, 2021
2 parents f48fb91 + 57438a5 commit 660b646
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.11 FATAL_ERROR) # 3.11 to avoid issues with OpenMP + CUDA
project(SpFFT LANGUAGES CXX VERSION 1.0.0)
project(SpFFT LANGUAGES CXX VERSION 1.0.1)
set(SPFFT_SO_VERSION 1)
set(SPFFT_VERSION ${PROJECT_VERSION})

Expand Down
2 changes: 1 addition & 1 deletion src/execution/execution_gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ auto ExecutionGPU<T>::forward_xy(const T* input) -> void {
gpu::check_status(gpu::memcpy_async(static_cast<void*>(spaceDomainDataExternalGPU_.data()),
static_cast<const void*>(inputPtrHost),
spaceDomainDataExternalGPU_.size() * sizeof(T),
gpu::flag::MemcpyDeviceToHost, stream_.get()));
gpu::flag::MemcpyHostToDevice, stream_.get()));
}
transformXY_->forward(inputPtrGPU, freqDomainXYGPU_.data());
}
Expand Down
4 changes: 2 additions & 2 deletions tests/mpi_tests/test_transpose_gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ static void check_space_domain(const HostArrayView3D<std::complex<double>>& real
for (SizeType z = 0; z < numLocalXYPlanes; ++z) {
for (SizeType x = 0; x < fullView.dim_outer(); ++x) {
for (SizeType y = 0; y < fullView.dim_mid(); ++y) {
EXPECT_EQ(realView(z, x, y).real(), fullView(x, y, z + planeOffset).real());
EXPECT_EQ(realView(z, x, y).imag(), fullView(x, y, z + planeOffset).imag());
EXPECT_EQ(realView(z, y, x).real(), fullView(x, y, z + planeOffset).real());
EXPECT_EQ(realView(z, y, x).imag(), fullView(x, y, z + planeOffset).imag());
}
}
}
Expand Down

0 comments on commit 660b646

Please sign in to comment.