Skip to content

Commit 9ca4809

Browse files
committed
Fixed another missing directive
1 parent 3ea1be1 commit 9ca4809

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dlib/cuda/tensor_tools.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,9 +1465,11 @@ namespace dlib { namespace tt
14651465
const tensor& src
14661466
)
14671467
{
1468+
#ifdef DLIB_USE_CUDA
14681469
if (use_cuda())
14691470
cuda_impl(dest, src);
14701471
else
1472+
#endif
14711473
cpu_impl(dest, src);
14721474
}
14731475
/*!

0 commit comments

Comments
 (0)