diff --git a/README.md b/README.md index e9c062cfa..201837992 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,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 });