This repository was archived by the owner on Apr 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -315,8 +315,8 @@ if (WITH_CAFFE2 AND WITH_CUDA)
315315 message (STATUS "Found, CAFFE2_INCLUDE_DIR: " ${CAFFE2_INCLUDE_DIR} )
316316
317317 add_definitions (-DCAFFE2_USE_GOOGLE_GLOG)
318- include_directories (AFTER ${EIGEN_INCLUDE_DIR} )
319- include_directories (AFTER ${CAFFE2_INCLUDE_DIR} )
318+ include_directories (AFTER SYSTEM ${EIGEN_INCLUDE_DIR} )
319+ include_directories (AFTER SYSTEM ${CAFFE2_INCLUDE_DIR} )
320320 add_subdirectory (tc/c2)
321321 add_subdirectory (tc/benchmarks)
322322 add_subdirectory (test /caffe2)
Original file line number Diff line number Diff line change @@ -286,8 +286,8 @@ void ProductionModel::runATen1LUT() {
286286}
287287
288288void ProductionModel::run2LUT (const tc::CudaMappingOptions& options) {
289- TC_CHECK_LT (0 , E1 );
290- TC_CHECK_LT (0 , E2 );
289+ TC_CHECK_LT (0u , E1 );
290+ TC_CHECK_LT (0u , E2 );
291291 auto ws_init_func = [=](Workspace& w) {
292292 AddDeterministicallyRandomInput<caffe2::CUDABackend, float >(
293293 w, {E1 , D}, " LUT1" );
Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ struct Benchmark : public ::testing::Test {
6565 void SetUp () {
6666 if (!FLAGS_disable_version_checks) {
6767 auto cudnnVersion = cudnnGetVersion ();
68- TC_CHECK_LE (6021 , cudnnVersion)
68+ TC_CHECK_LE (6021u , cudnnVersion)
6969 << " [CUDNN][VERSION] Enforce version compatibility check" ;
7070
7171 auto cudaRtVersion = cudnnGetCudartVersion ();
72- TC_CHECK_LE (8000 , cudaRtVersion)
72+ TC_CHECK_LE (8000u , cudaRtVersion)
7373 << " [CUDART][VERSION] Enforce version compatibility check" ;
7474
7575 int cublasVersion;
You can’t perform that action at this time.
0 commit comments