forked from mindspore-Ecosystem/mindspore
[MSLITE] add opencl gpu compile support for arm32
This commit is contained in:
parent
c44df2c9e3
commit
a6b62ba502
|
@ -83,7 +83,13 @@ if(PLATFORM_ARM64)
|
|||
message("invalid MSLITE_GPU_BACKEND value ${MSLITE_GPU_BACKEND} for arm64, MSLITE_GPU_BACKEND is set to off.")
|
||||
set(MSLITE_GPU_BACKEND "off")
|
||||
endif()
|
||||
elseif(PLATFORM_ARM32 OR WIN32)
|
||||
elseif(PLATFORM_ARM32)
|
||||
if((NOT MSLITE_GPU_BACKEND STREQUAL "opencl") AND (NOT MSLITE_GPU_BACKEND STREQUAL "off") AND
|
||||
(NOT MSLITE_GPU_BACKEND STREQUAL ""))
|
||||
message("invalid MSLITE_GPU_BACKEND value ${MSLITE_GPU_BACKEND} for arm32, MSLITE_GPU_BACKEND is set to off.")
|
||||
set(MSLITE_GPU_BACKEND "off")
|
||||
endif()
|
||||
elseif(WIN32)
|
||||
set(MSLITE_GPU_BACKEND "off")
|
||||
else()
|
||||
# x86_64
|
||||
|
|
Loading…
Reference in New Issue