mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
ocl: allow unknown GPU in case of OpenCL backend (#1747)
* An "unknown GPU" may be not know to the build system (Makefile) * The mechanism to pickup parameters is different from CUDA/HIP
This commit is contained in:
parent
6227c4878b
commit
d4528354f0
1 changed files with 2 additions and 0 deletions
|
|
@ -93,8 +93,10 @@ else ifeq ($(GPUVER),Mi50)
|
|||
else ifeq ($(GPUVER),Mi100)
|
||||
ARCH_NUMBER = gfx908
|
||||
else ifneq ($(GPUVER),)
|
||||
ifneq (opencl,$(USE_ACCEL))
|
||||
$(error GPUVER not recognized)
|
||||
endif
|
||||
endif
|
||||
|
||||
# If compiling with nvcc
|
||||
ifeq (cuda,$(USE_ACCEL))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue