diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 14:53:09 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 14:53:09 +0100 |
commit | 512f4c0b46ea5cc359e673b7379cd81925863121 (patch) | |
tree | 1e72167d8d63f44109719db9643d4c0445b17d57 /tests/fibonacci.lua | |
parent | 0aa030db022c57947afbae3b97038a403973e3cd (diff) | |
download | lanes-512f4c0b46ea5cc359e673b7379cd81925863121.tar.gz lanes-512f4c0b46ea5cc359e673b7379cd81925863121.tar.bz2 lanes-512f4c0b46ea5cc359e673b7379cd81925863121.zip |
Give a name to all lanes in the tests
Diffstat (limited to 'tests/fibonacci.lua')
-rw-r--r-- | tests/fibonacci.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fibonacci.lua b/tests/fibonacci.lua index 7885ae6..2c043c3 100644 --- a/tests/fibonacci.lua +++ b/tests/fibonacci.lua | |||
@@ -44,7 +44,7 @@ local function fib( n ) | |||
44 | else | 44 | else |
45 | -- Splits into two; this task remains waiting for the results | 45 | -- Splits into two; this task remains waiting for the results |
46 | -- | 46 | -- |
47 | local gen_f= lanes.gen( "*", fib) | 47 | local gen_f= lanes.gen( "*", { name = 'auto' }, fib) |
48 | 48 | ||
49 | local n1=floor(n/2) +1 | 49 | local n1=floor(n/2) +1 |
50 | local n2=floor(n/2) -1 + n%2 | 50 | local n2=floor(n/2) -1 + n%2 |