Skip to content

Suspicious CMake code for generator tests. #8790

@mcourteaux

Description

@mcourteaux

if ("NVPTX" IN_LIST Halide_LLVM_COMPONENTS)
if (Halide_TARGET MATCHES "cuda")
target_link_libraries("${TARGET}" PRIVATE CUDA::cuda_driver CUDA::cudart)
endif ()
if (Halide_TARGET MATCHES "opencl")
target_link_libraries("${TARGET}" PRIVATE OpenCL::OpenCL)
endif ()
endif ()

Metadata

Metadata

Assignees

Labels

buildIssues related to building Halide and with CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions