Use $CUDA_PATH/include for CUDA headers (#9858)

This commit is contained in:
Alexey Zaytsev
2025-04-13 12:20:19 -03:00
committed by GitHub
parent e2a40fb523
commit 78a6af3da7
2 changed files with 4 additions and 2 deletions

View File

@@ -50,6 +50,7 @@ JIT | [0-2] | 0=disabled, 1=[jit enabled](quickstart.md#jit
VIZ | [1] | 0=disabled, 1=[viz enabled](https://github.com/tinygrad/tinygrad/tree/master/tinygrad/viz)
ALLOW_TF32 | [1] | enable TensorFloat-32 tensor cores on Ampere or newer GPUs.
WEBGPU_BACKEND | [WGPUBackendType_Metal, ...] | Force select a backend for WebGPU (Metal, DirectX, OpenGL, Vulkan...)
CUDA_PATH | str | Use `CUDA_PATH/include` for CUDA headers for CUDA and NV backends. If not set, TinyGrad will use `/usr/local/cuda/include`, `/usr/include` and `/opt/cuda/include`.
## Debug breakdown