Updated examples to match new shader api
This commit is contained in:
parent
92f556ff57
commit
82a56b7e85
10 changed files with 20 additions and 59 deletions
|
|
@ -58,7 +58,7 @@ void KomputeSummator::_init() {
|
|||
// Then we run the operation with both tensors
|
||||
this->mSequence->record<kp::OpAlgoBase>(
|
||||
{ this->mPrimaryTensor, this->mSecondaryTensor },
|
||||
std::vector<char>(shader.begin(), shader.end()));
|
||||
kp::Shader::compile_source(shader));
|
||||
|
||||
// We map the result back to local
|
||||
this->mSequence->record<kp::OpTensorSyncLocal>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue