- check-cu.py now defaults to clang -x cuda --cuda-host-only with real qualifiers; --plain keeps the C++-only pass. - qsa_prompt_attention_variants.cu: block_q4_0 under pack(1) as in kv_q4.hpp (cu_pin refreshed). - native_head_native.cu: orphan copy had __launch_bounds__ before extern "C" __global__ (never nvcc-built); now the sealed twin's text. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
20 lines
669 B
C
20 lines
669 B
C
// Stub of <cublas_v2.h>: only the handle and status names ggml-cuda/common.cuh mentions.
|
|
#pragma once
|
|
#include "cuda_stub.h"
|
|
#if defined(__CUDA__)
|
|
#pragma clang force_cuda_host_device begin
|
|
#endif
|
|
typedef void* cublasHandle_t;
|
|
typedef int cublasStatus_t;
|
|
typedef int cublasComputeType_t;
|
|
typedef int cudaDataType_t;
|
|
enum { CUBLAS_STATUS_SUCCESS = 0 };
|
|
#define CUBLAS_TF32_TENSOR_OP_MATH 3
|
|
cublasStatus_t cublasCreate(cublasHandle_t*);
|
|
cublasStatus_t cublasDestroy(cublasHandle_t);
|
|
cublasStatus_t cublasSetStream(cublasHandle_t, cudaStream_t);
|
|
cublasStatus_t cublasSetMathMode(cublasHandle_t, int);
|
|
#if defined(__CUDA__)
|
|
#pragma clang force_cuda_host_device end
|
|
#endif
|