载入中...
搜索中...
未找到
OnnxGpuKernels.h
浏览该文件的文档.
1#pragma once
5// Internal kernels; callers validate geometry and byte extents before dispatch.
7std::vector<int32_t> gpuMatmul(OnnxCompute& device, affine::ByteView a, affine::ByteView b, size_t m, size_t k,
8 size_t n, int az, std::span<const int32_t> bz);
10std::vector<int32_t> gpuConv(OnnxCompute& device, affine::ByteView x, affine::ByteView w, const affine::ConvShape& s,
11 int xz, std::span<const int32_t> wz);
13OnnxBuffer gpuMatmulResident(OnnxCompute&, OnnxBuffer, OnnxBuffer, bool, bool, size_t, size_t, size_t, int,
14 std::span<const int32_t>, size_t bOffset = 0);
16OnnxBuffer gpuConvResident(OnnxCompute&, OnnxBuffer, OnnxBuffer, bool, bool, const affine::ConvShape&, int,
17 std::span<const int32_t>);
18} // namespace eve::tensor::onnx_detail
float w
Definition AnimClip.cpp:738
float x
Definition AnimClip.cpp:738
const std::string & s
int bz
Definition CaveMesh.cpp:114
int az
Definition CaveMesh.cpp:113
vkb::Device & device
glm::vec3 n
Definition Grass.cpp:63
MeleePoint3 b
Definition MeleeHit.cpp:41
MeleePoint3 a
Definition MeleeHit.cpp:40
float m[16]
float wz
OnnxBuffer gpuConvResident(OnnxCompute &d, OnnxBuffer x, OnnxBuffer w, bool xs, bool ws, const affine::ConvShape &c, int xz, std::span< const int32_t > wz)
Gpu conv resident.
std::vector< int32_t > gpuConv(OnnxCompute &d, affine::ByteView x, affine::ByteView w, const affine::ConvShape &c, int xz, std::span< const int32_t > wz)
Gpu conv.
std::vector< int32_t > gpuMatmul(OnnxCompute &d, affine::ByteView a, affine::ByteView b, size_t m, size_t k, size_t n, int az, std::span< const int32_t > bz)
Gpu matmul.
OnnxBuffer gpuMatmulResident(OnnxCompute &d, OnnxBuffer a, OnnxBuffer b, bool as, bool bs, size_t m, size_t k, size_t n, int az, std::span< const int32_t > bz, size_t bOffset)
Gpu matmul resident.