Access the device status directly, remove the getter
commit9a9745f278dd8e88feef83f027c56551687ec42c
authorArtem Zhmurov <zhmurov@gmail.com>
Mon, 7 Sep 2020 06:09:04 +0000 (7 06:09 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Mon, 7 Sep 2020 06:09:04 +0000 (7 06:09 +0000)
treee11032271c78e8fb4319595e37acbd29d792c7f2
parent8abc59d8b9c4d75f8fd39273f6788e9a7d5b08e6
Access the device status directly, remove the getter

DeviceInformation is a basic contained and does not need the getters.
51 files changed:
src/gromacs/ewald/pme_gpu_program_impl.h
src/gromacs/ewald/tests/testhardwarecontexts.cpp
src/gromacs/ewald/tests/testhardwarecontexts.h
src/gromacs/gpu_utils/CMakeLists.txt
src/gromacs/gpu_utils/device_stream.cu
src/gromacs/gpu_utils/device_stream_manager.cpp
src/gromacs/gpu_utils/gpu_testutils.h [deleted file]
src/gromacs/gpu_utils/gpu_utils.cpp
src/gromacs/gpu_utils/gpu_utils.cu
src/gromacs/gpu_utils/gputraits.cuh
src/gromacs/gpu_utils/gputraits_ocl.h
src/gromacs/gpu_utils/oclutils.h
src/gromacs/gpu_utils/tests/device_stream_manager.cpp
src/gromacs/gpu_utils/tests/devicetransfers.cpp
src/gromacs/gpu_utils/tests/devicetransfers.cu
src/gromacs/gpu_utils/tests/devicetransfers.h
src/gromacs/gpu_utils/tests/devicetransfers_ocl.cpp
src/gromacs/gpu_utils/tests/gputest.cpp
src/gromacs/gpu_utils/tests/gputest.h
src/gromacs/gpu_utils/tests/hostallocator.cpp
src/gromacs/gpu_utils/tests/pinnedmemorychecker.cpp
src/gromacs/gpu_utils/tests/typecasts.cpp
src/gromacs/hardware/detecthardware.cpp
src/gromacs/hardware/detecthardware.h
src/gromacs/hardware/device_information.h
src/gromacs/hardware/device_management.cpp [moved from src/gromacs/gpu_utils/gpu_testutils.cpp with 60% similarity]
src/gromacs/hardware/device_management.cu
src/gromacs/hardware/device_management.h
src/gromacs/hardware/device_management_common.cpp
src/gromacs/hardware/device_management_ocl.cpp
src/gromacs/hardware/gpu_hw_info.h [deleted file]
src/gromacs/hardware/hw_info.h
src/gromacs/hardware/printhardware.cpp
src/gromacs/hardware/tests/CMakeLists.txt
src/gromacs/hardware/tests/device_management.cpp [new file with mode: 0644]
src/gromacs/mdlib/forcerec.h
src/gromacs/mdlib/tests/constr.cpp
src/gromacs/mdlib/tests/constrtestdata.h
src/gromacs/mdlib/tests/constrtestrunners.cu
src/gromacs/mdlib/tests/leapfrog.cpp
src/gromacs/mdlib/tests/settle.cpp
src/gromacs/mdlib/tests/settletestrunners.cu
src/gromacs/mdrun/runner.cpp
src/gromacs/mdtypes/state_propagator_data_gpu_impl_gpu.cpp
src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu
src/gromacs/nbnxm/gpu_data_mgmt.h
src/gromacs/nbnxm/opencl/nbnxm_ocl_data_mgmt.cpp
src/gromacs/taskassignment/taskassignment.cpp
src/gromacs/taskassignment/usergpuids.cpp
src/gromacs/taskassignment/usergpuids.h
src/programs/mdrun/tests/pmetest.cpp