nested cilk_spawn functions

nested cilk_spawn functions

I believe that I know the answer to this, but I am going to ask anyway. Is it okay to nest cilk_spawns? In other words when I spawn a function and it calls/spawns a function can this be repeated in the spawned function?

I believe that the answer is yes, based on the code I had for a Cilk5 fibonacci progtram.

Newport_j

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Yes, you are correct! You are _encouraged_ to nest your parallelism in Cilk++.

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya