Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml/blob/master/src/ggml-cuda/vendors/cuda.h # ggml [Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `ggml / src / ggml-cuda / vendors / cuda.h` 28 lines ยท 741 bytes Raw Blame History 1 #pragma once 2 3 #include 4 #include 5 #include 6 #include 7 #include 8 9 #ifdef GGML_USE_NCCL 10 #include 11 #endif // GGML_USE_NCCL 12 13 #if CUDART_VERSION >= 11080 14 #include 15 #define FP8_AVAILABLE 16 #endif // CUDART_VERSION >= 11080 17 18 #if CUDART_VERSION >= 12080 19 #include 20 #endif // CUDART_VERSION >= 12080 21 22 #if CUDART_VERSION < 11020 23 #define CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED CU_DEVICE_ATTRIBUTE_VIRTUAL_ADDRESS_MANAGEMENT_SUPPORTED 24 #define CUBLAS_TF32_TENSOR_OP_MATH CUBLAS_TENSOR_OP_MATH 25 #define CUBLAS_COMPUTE_16F CUDA_R_16F 26 #define CUBLAS_COMPUTE_32F CUDA_R_32F 27 #define cublasComputeType_t cudaDataType_t 28 #endif // CUDART_VERSION < 11020