JuliaSIMD / JuliaSIMD/LoopVectorization.jl
is it possible to set @turbo thread = true/false at runtime?
- Lingua principale
- Julia
- Stelle
- 789
- Fork
- 73
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I have a function that uses @turbo and has a threaded kwarg
```julia
function f(a, b; threaded = true)
c = similar(a)
@turbo thread = true for i = eachindex(a)
c[i] = a[i]+b[i]
end
end
```
is it possible to pass the function kwarg `threaded` to `@turbo` to set `thread ` ?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by examining the @turbo macro entry point and how it handles the thread=true option in the shown function f. Determine whether the threaded keyword can control that option at runtime, and document or implement the supported behavior with a focused test if the repository provides one.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia
- Ambito
- performance
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100