Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/cuda-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
- .github/workflows/cuda-windows.yml
- backends/cuda/**
- backends/aoti/**
- extension/cuda/**
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
(
contains(needs.changed-files.outputs.changed-files, 'backends/cuda') ||
contains(needs.changed-files.outputs.changed-files, 'backends/aoti') ||
contains(needs.changed-files.outputs.changed-files, 'extension/cuda') ||
contains(needs.changed-files.outputs.changed-files, '.github/workflows/cuda-windows.yml') ||
needs.run-decision.outputs.is-full-run == 'true'
)
Expand Down Expand Up @@ -150,6 +152,7 @@ jobs:
(
contains(needs.changed-files.outputs.changed-files, 'backends/cuda') ||
contains(needs.changed-files.outputs.changed-files, 'backends/aoti') ||
contains(needs.changed-files.outputs.changed-files, 'extension/cuda') ||
contains(needs.changed-files.outputs.changed-files, '.github/workflows/cuda-windows.yml') ||
needs.run-decision.outputs.is-full-run == 'true'
)
Expand Down
4 changes: 3 additions & 1 deletion extension/cuda/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ find_package(CUDAToolkit REQUIRED)
add_library(extension_cuda SHARED caller_stream.cpp)
target_link_libraries(extension_cuda PUBLIC CUDA::cudart)
target_include_directories(extension_cuda PUBLIC ${_common_include_directories})
target_compile_options(extension_cuda PUBLIC ${_common_compile_options})
target_compile_options(
extension_cuda PUBLIC "$<$<COMPILE_LANGUAGE:CXX>:${_common_compile_options}>"
)
target_compile_definitions(
extension_cuda PRIVATE EXECUTORCH_EXTENSION_CUDA_BUILDING
)
Expand Down
Loading