-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
RT,没有安装CUDA的机器,设置USE_CUDA=OFF, BUILD_ALL_EXAMPLES = OFF,因为仍然还是会编example,编译时报找不到头文件错误,具体:
In file included from /root/installs/libdeepvac/examples/src/test_resnet_benchmark.cpp:11:
/usr/libtorch/include/c10/cuda/CUDAStream.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
#include <cuda_runtime_api.h>
似应根据BUILD_ALL_EXAMPLES 和USE_CUDA的状态决定要build哪些examples?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels