This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,6 @@
|
||||
# probe: printing a SIMD value, elementwise *, and reduce_add
|
||||
def main():
|
||||
var v = SIMD[DType.float32, 4](1, 2, 3, 4)
|
||||
print(v)
|
||||
print(v * 2)
|
||||
print(v.reduce_add())
|
||||
Reference in new issue
Block a user