- 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>
13 lines
557 B
C
13 lines
557 B
C
// Stub of <cuda_fp8.h>.
|
|
#pragma once
|
|
#include "cuda_stub.h"
|
|
#if defined(__CUDA__)
|
|
#pragma clang force_cuda_host_device begin
|
|
#endif
|
|
typedef unsigned char __nv_fp8_storage_t;
|
|
struct __nv_fp8_e4m3 { __nv_fp8_storage_t __x; __nv_fp8_e4m3() = default; __nv_fp8_e4m3(float); __nv_fp8_e4m3(double); __nv_fp8_e4m3(int); operator float() const; };
|
|
struct __nv_fp8_e5m2 { __nv_fp8_storage_t __x; __nv_fp8_e5m2() = default; __nv_fp8_e5m2(float); __nv_fp8_e5m2(double); operator float() const; };
|
|
#if defined(__CUDA__)
|
|
#pragma clang force_cuda_host_device end
|
|
#endif
|