Skip to content
Open
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
10 changes: 8 additions & 2 deletions docs/source/builder/writing-kernels.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ are available:
capabilities are the intersection of this list and the capabilities
supported by the CUDA compiler. It is recommended to leave this option
unspecified **unless** a kernel requires specific capabilities.
- `cuda_flags` (optional): additional flags to be passed to `nvcc`.
- `cuda-flags` (optional): additional flags to be passed to `nvcc`.
**Warning**: this option should only be used in exceptional circumstances.
Custom compile flags can interfere with the build process or break
compatibility requirements.
Expand All @@ -269,9 +269,15 @@ are available:

#### xpu

- `sycl_flags`: a list of additional flags to be passed to the SYCL
- `sycl-flags`: a list of additional flags to be passed to the SYCL
compiler.

### cpu

- `cxx-flags`: a list of additional flags to be passed to the C++
compiler.


## Torch bindings

### Defining bindings
Expand Down