Module ispc::task

source · []
Expand description

Defines structs for operating on ISPC task groups and getting chunks of a task to be scheduled on to threads

Structs

A chunk of tasks from a Group to be executed

A list of all task groups spawned by a function in some launch context which will be sync’d at an explicit sync call or function exit.

An iterator over the current groups in the context which have remaining tasks to run on a thread. If more task groups are added before this iterator has returned None those will appear as well.

A group of tasks spawned by a call to launch in ISPC

An iterator over chunks of tasks to be executed in a Group

Type Definitions

A pointer to an ISPC task function.