yum-archive/TaSTT-Whisper
High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model
git clone https://git.yummers.dev/yum-archive/TaSTT-Whisper
8c4603c
master
1#pragma once 2#include "ParallelForRunner.h" 3#include "Tensor.h" 4 5namespace CpuCompute 6{ 7HRESULT mulMat (Tensor & result ,const Tensor & a ,const Tensor & b ,ParallelForRunner & pfor ); 8} 9 10#if TENSOR_GGML_COMPAT 11#include "../source/ggml.h" 12inline HRESULT mulMat (ggml_tensor * result ,const ggml_tensor * a ,const ggml_tensor * b ,CpuCompute ::ParallelForRunner & pfor ) 13{ 14CpuCompute ::Tensor r {result },lhs {a },rhs {b }; 15return CpuCompute ::mulMat (r ,lhs ,rhs ,pfor ); 16} 17#endif