Skip to content

Commit

Permalink
ocl: allow unknown GPU in case of OpenCL backend (#1747)
Browse files Browse the repository at this point in the history
* An "unknown GPU" may be not know to the build system (Makefile)
* The mechanism to pickup parameters is different from CUDA/HIP
  • Loading branch information
hfp committed Nov 19, 2021
1 parent 6227c48 commit d452835
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exts/build_dbcsr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit d452835

Please sign in to comment.