Merge pull request #71 from nihui/patch-1

Fix README typo
This commit is contained in:
Alejandro Saucedo 2020-10-10 17:01:38 +01:00 committed by GitHub
commit 283e188e08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,7 @@ int main() {
if (std::shared_ptr<kp::Sequence> sq = sqWeakPtr.lock())
{
// Begin recording commands
sq.begin();
sq->begin();
// Record batch commands to send to GPU
sq->record<kp::OpMult<>>({ tensorLHS, tensorRHS, tensorOutput });