acb5fd2ebf
Simplify GenerateBinaryHeader utility
...
The function implementation was incomplete for handling the case
of multiple files. It would generate wrong C code in case more than
one files were specified. Since we don't have this use case, it's
safe to only leave the single input file implementation.
Closes issue #2294
2020-09-20 18:24:43 -04:00
5623009962
arch 3.0 is dropped in CUDA 11
2020-08-30 13:12:42 +03:00
aa82608142
print warning for unknown/unsupported CUDA versions
2020-07-15 11:28:33 -04:00
a082895b90
update CMake script for GPU package to include handling of Arch 8.0 and CUDA 11
2020-07-15 11:08:06 -04:00
723b9e6760
Try to keep compatibility with deprecated ROCm hcc compiler
2020-06-20 15:17:54 +03:00
2ea5d9956a
find_package is unnecessary for rocprim
2020-06-19 00:01:03 +03:00
d3baa414d2
Fix cmake for GPU ROCm 3.5 backend
2020-06-17 23:33:16 +03:00
6891fa2610
update a few URLs to use https: instead of http:
2020-06-10 12:34:09 -04:00
78f030a07a
test for *cubin.h files in lib/gpu that conflict with cmake compilation
2020-06-09 07:32:49 -04:00
1adda03202
cmake: only install shared lib and friends
2020-04-29 18:06:33 -06:00
ef3e071067
GPU.cmake: localize hackery
2020-04-28 07:43:31 -06:00
6be36196da
explicitly include STUBS MPI headers for serial compile since we seem to pick up the OpenMP ones otherwise
2020-04-28 01:36:21 -04:00
705c10ef47
restore original command
2020-04-28 01:12:49 -04:00
d3017744a9
updates for building with hip
2020-04-28 00:39:11 -04:00
29d667721a
tweak GPU.cmake so that hip_get_devices compiles and links
2020-04-27 22:29:41 -04:00
5542ad31dc
Merge branch 'master' into simplify_build_choices
...
# Conflicts:
# cmake/Modules/Packages/GPU.cmake
2020-04-11 21:31:07 -04:00
d2c4ade697
Add HIP_USE_DEVICE_SORT CMake option
2020-04-10 18:22:43 -04:00
4f8a1583b9
Restore --arch line removed during debugging
2020-04-10 14:25:46 -04:00
b7a2b375c6
Add includes and linked libs for HIP_PLATFORM=nvcc
...
Do not set CMAKE_CXX_COMPILER=hipcc in the NVCC case since it causes
all sorts of problems. Instead we use the regular host compiler and
set the necessary include and link paths.
2020-04-10 12:45:39 -04:00
6381940b9a
Attempt to get ROCm CUDA working with CMake
2020-04-09 13:53:41 -04:00
07d31f4643
remove LAMMPS_LIB_SUFFIX variable and use LAMMPS_MACHINE instead.
...
we are now always building the executable and the library and thus they should have a consistent suffix or none.
2020-04-09 10:42:11 -04:00
e5b521e011
remove BUILD_EXE and BUILD_LIB options from CMake files. we always build both.
2020-04-08 18:31:46 -04:00
1c94415d1f
Remove whitespace
2020-04-08 13:57:12 -04:00
438ee4d75b
Merge remote-tracking branch 'origin/master' into gpu_hip
2020-04-08 13:49:41 -04:00
6c8161b2a3
cmake: remove wrongly added warning about downloading
2020-04-06 12:10:00 -06:00
ac393ca38d
GPU.cmake: use OpenCL imported target
2020-04-05 15:37:17 -06:00
6b199f502c
cmake: add error for downloading with <=cmake-3.11
2020-04-05 15:14:30 -06:00
9003553384
cmake: move OpenCL handling under Windows in GPU.cmake
2020-04-05 15:12:40 -06:00
e18439f387
cmake: make more include files consistent
2020-04-05 15:03:25 -06:00
bdc83020f0
cmake:LAMMPS::MPI -> MPI::MPI_CXX
2020-04-03 09:24:47 -06:00
1e224611ca
Add preliminary CMake support to GPU HIP port
2020-04-02 17:59:45 -04:00
099880e91b
cmake: add missing size defines
2020-03-31 16:35:28 -06:00
53ce24fac1
cmake: remove LAMMPS_USE_MPI4WIN hacks
2020-03-31 16:12:16 -06:00
119ba61c09
cmake: fix MPI linkage
2020-03-31 08:23:59 -06:00
e88e8bdabe
cmake: improve install of support libs
2020-03-26 15:00:46 -06:00
cad6332065
cmake: add gpu to export target
2020-03-25 18:01:01 -06:00
568aaeca22
cmake: needs mpi
2020-03-25 15:04:20 -06:00
33a57ed215
cmake: some more include_directories() -> target_include_directories()
2020-03-24 11:36:21 -06:00
e76afb33ed
cmake: update to new target_link_libraries() signature
2020-03-23 12:06:58 -06:00
5828815b3e
cmake: remove LAMMPS_LINK_LIBS
2020-03-22 18:55:53 -06:00
62cb760ee2
cmake: remove LIB_SOURCES and LMP_SOURCES
2020-03-22 14:42:29 -06:00
38edf20d08
add CMake support for building LAMMPS for windows with MPI
...
- Handle the MPI support as an External project.
- Also we can enable a few more packages now, that depend on MPI
- Improved dependency tracking for parallel builds
- cross compiler build can now also work with ninja
2020-03-19 10:46:42 -04:00
a972850b39
require CMake version 3.10. remove tests for older versions.
2020-03-04 14:28:33 -05:00
ae59ffe83e
Move more CMake configurations to own files
2019-06-09 03:54:52 -04:00