From 3edc2633e9876005da2423f1463fe2e215f52f04 Mon Sep 17 00:00:00 2001 From: Noah Ziems Date: Wed, 29 Dec 2021 18:09:34 -0500 Subject: [PATCH] [TUTORIALS] Fix 01-vector-add.py typo (#406) --- python/tutorials/01-vector-add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tutorials/01-vector-add.py b/python/tutorials/01-vector-add.py index 4446cf6e9..b25698a4e 100644 --- a/python/tutorials/01-vector-add.py +++ b/python/tutorials/01-vector-add.py @@ -37,7 +37,7 @@ def add_kernel( offsets = block_start + tl.arange(0, BLOCK_SIZE) # Create a mask to guard memory operations against out-of-bounds accesses mask = offsets < n_elements - # Load x and y from DRAM, masking out any extar elements in case the input is not a + # Load x and y from DRAM, masking out any extra elements in case the input is not a # multiple of the block size x = tl.load(x_ptr + offsets, mask=mask) y = tl.load(y_ptr + offsets, mask=mask)