diff --git a/README.md b/README.md index c5990bf8d..5622f213e 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ int main() { if (std::shared_ptr sq = sqWeakPtr.lock()) { // Begin recording commands - sq.begin(); + sq->begin(); // Record batch commands to send to GPU sq->record>({ tensorLHS, tensorRHS, tensorOutput });