[][src]Module ispc::task

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

Structs

Chunk

A chunk of tasks from a Group to be executed

Context

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.

ContextIter

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.

Group

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

GroupChunks

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

Type Definitions

ISPCTaskFn

A pointer to an ISPC task function.