mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Docs: Add missing whitespace in the cmake warning message (#150929)
A trailing whitespace is needed to be concatenated to the following string correctly. Pull Request resolved: https://github.com/pytorch/pytorch/pull/150929 Approved by: https://github.com/Skylion007
This commit is contained in:
parent
3d3fcaaf7b
commit
78b3d71ece
|
|
@ -92,7 +92,7 @@ endif()
|
||||||
if(USE_XPU)
|
if(USE_XPU)
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/public/xpu.cmake)
|
include(${CMAKE_CURRENT_LIST_DIR}/public/xpu.cmake)
|
||||||
if(NOT PYTORCH_FOUND_XPU)
|
if(NOT PYTORCH_FOUND_XPU)
|
||||||
message(WARNING "Not compiling with XPU. Could NOT find SYCL."
|
message(WARNING "Not compiling with XPU. Could NOT find SYCL. "
|
||||||
"Suppress this warning with -DUSE_XPU=OFF.")
|
"Suppress this warning with -DUSE_XPU=OFF.")
|
||||||
caffe2_update_option(USE_XPU OFF)
|
caffe2_update_option(USE_XPU OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user