test ci
This commit is contained in:
parent
fc92f582e6
commit
ae9b93a786
|
@ -273,6 +273,9 @@ endif()
|
|||
if(MSVC)
|
||||
set(MSLITE_ENABLE_CONVERTER off)
|
||||
endif()
|
||||
if(MSLITE_ENABLE_CONVERTER)
|
||||
add_compile_definitions(ENABLE_CONVERTER)
|
||||
endif()
|
||||
|
||||
message(STATUS "************MindSpore Lite Build Option:************")
|
||||
message(STATUS "\tMSLITE_GPU_BACKEND = \t${MSLITE_GPU_BACKEND}")
|
||||
|
|
|
@ -209,7 +209,7 @@ REG_KERNEL(kCPU, kNumberTypeInt8, PrimitiveType_Cast, LiteKernelCreator<CastCPUK
|
|||
REG_KERNEL(kCPU, kNumberTypeInt32, PrimitiveType_Cast, LiteKernelCreator<CastCPUKernel>)
|
||||
REG_KERNEL(kCPU, kNumberTypeInt64, PrimitiveType_Cast, LiteKernelCreator<CastCPUKernel>)
|
||||
REG_KERNEL(kCPU, kNumberTypeBool, PrimitiveType_Cast, LiteKernelCreator<CastCPUKernel>)
|
||||
#ifndef ENABLE_ARM
|
||||
#ifdef ENABLE_CONVERTER
|
||||
REG_KERNEL(kCPU, kNumberTypeFloat16, PrimitiveType_Cast, LiteKernelCreator<CastCPUKernel>)
|
||||
#endif
|
||||
} // namespace mindspore::kernel
|
||||
|
|
Loading…
Reference in New Issue