Updated readme

This commit is contained in:
Alejandro Saucedo 2020-10-31 17:38:03 +00:00
parent 7b9f84f0ab
commit 4e6607bb91

View file

@ -68,6 +68,7 @@ int main() {
auto tensorB = mgr.buildTensor({ 0., 0., 0. });
// 2. Run compute shader synchronously
// Operations provide abstractions to GPU processing steps and can be extended
mgr.evalOpDefault<kp::OpAlgoBase<>>(
{ tensorA, tensorB },
shaderData); // "shaderData" defined below, and can be glsl/spirv string or path to file