Skip to content

Commit e6def64

Browse files
Add cxx_flags to docs (#455)
* Add cxx_flags to docs * Update flags to use dash in docs
1 parent 8941f82 commit e6def64

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docs/source/builder/writing-kernels.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ are available:
257257
capabilities are the intersection of this list and the capabilities
258258
supported by the CUDA compiler. It is recommended to leave this option
259259
unspecified **unless** a kernel requires specific capabilities.
260-
- `cuda_flags` (optional): additional flags to be passed to `nvcc`.
260+
- `cuda-flags` (optional): additional flags to be passed to `nvcc`.
261261
**Warning**: this option should only be used in exceptional circumstances.
262262
Custom compile flags can interfere with the build process or break
263263
compatibility requirements.
@@ -269,9 +269,15 @@ are available:
269269

270270
#### xpu
271271

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

275+
### cpu
276+
277+
- `cxx-flags`: a list of additional flags to be passed to the C++
278+
compiler.
279+
280+
275281
## Torch bindings
276282

277283
### Defining bindings

0 commit comments

Comments
 (0)