Lines Matching refs:nv
80 void PetscMatrixSampler::VerifyBuffers(int nv) in VerifyBuffers() argument
85 if (hbuffer_in.size() < (size_t)n * nv) hbuffer_in.resize(n * nv); in VerifyBuffers()
86 if (hbuffer_out.size() < (size_t)n * nv) hbuffer_out.resize(n * nv); in VerifyBuffers()
89 if (dbuffer_in.size() < (size_t)n * nv) dbuffer_in.resize(n * nv); in VerifyBuffers()
90 if (dbuffer_out.size() < (size_t)n * nv) dbuffer_out.resize(n * nv); in VerifyBuffers()
96 void PetscMatrixSampler::PermuteBuffersIn(int nv, H2Opus_Real *v, H2Opus_Real **w, H2Opus_Real *ov,… in PermuteBuffersIn() argument
100 VerifyBuffers(nv); in PermuteBuffersIn()
104 …permute_vectors(v, this->hbuffer_in.data(), n, nv, this->hindexmap.data(), 1, H2OPUS_HWTYPE_CPU, t… in PermuteBuffersIn()
109 …permute_vectors(v, this->dbuffer_in.data(), n, nv, this->dindexmap.data(), 1, H2OPUS_HWTYPE_GPU, t… in PermuteBuffersIn()
117 void PetscMatrixSampler::PermuteBuffersOut(int nv, H2Opus_Real *v) in PermuteBuffersOut() argument
119 VerifyBuffers(nv); in PermuteBuffersOut()
123 …permute_vectors(this->hbuffer_out.data(), v, n, nv, this->hindexmap.data(), 0, H2OPUS_HWTYPE_CPU, … in PermuteBuffersOut()
126 …permute_vectors(this->dbuffer_out.data(), v, n, nv, this->dindexmap.data(), 0, H2OPUS_HWTYPE_GPU, … in PermuteBuffersOut()