Skip to content
Snippets Groups Projects
Commit ec85d81a authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Use DadaClientBase method to register buffer memory in cuda in DadaReadClient

parent 0e9a5010
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ if(ENABLE_CUDA)
set(CUDA_HOST_COMPILER ${CMAKE_CXX_COMPILER})
set(CUDA_PROPAGATE_HOST_FLAGS OFF)
add_definitions(-DENABLE_CUDA)
# Pass options to NVCC ( -ccbin /path --compiler-options -lfftw3f --compiler-options -lm --verbose)
list(APPEND CUDA_NVCC_FLAGS -DENABLE_CUDA --std c++11 -Wno-deprecated-gpu-targets)
list(APPEND CUDA_NVCC_FLAGS_DEBUG --debug; --device-debug; --generate-line-info -Xcompiler "-Werror")
......
......@@ -10,7 +10,7 @@ namespace psrdada_cpp {
{
BOOST_LOG_TRIVIAL(debug) << this->id() << "Pinning dada buffers for CUDA memcpy";
dada_cuda_dbregister(_hdu);
cuda_register_memory();
lock();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment