Enums

Details

class Ufo.BaseSchedulerError(value)

Bases: GLib.Enum

SETUP = 0

Could not start scheduler due to error

EXECUTION = 1

Error occurred during execution

class Ufo.BufferDepth(value)

Bases: GLib.Enum

Source depth of data as used in Ufo.Buffer.convert().

INVALID = 0

default for unknown/unset values

8U = 1
_8U = 1

8 bit unsigned

12U = 2
_12U = 2

12 bit unsigned

16U = 3
_16U = 3

16 bit unsigned

16S = 4
_16S = 4

16 bit signed

32S = 5
_32S = 5

32 bit signed

32U = 6
_32U = 6

32 bit unsigned

32F = 7
_32F = 7

32 bit float

class Ufo.BufferLayout(value)

Bases: GLib.Enum

Layout of the backed data memory.

REAL = 0

Float values are real numbers

COMPLEX_INTERLEAVED = 1

Two adjacent float values make up a complex value

class Ufo.BufferLocation(value)

Bases: GLib.Enum

Location of the backed data memory.

HOST = 0

Data is located in main memory

DEVICE = 1

Data is located in regular device memory

DEVICE_IMAGE = 2

Data is located in image device memory

INVALID = 3

There is currently no data associated with the buffer

class Ufo.FixedSchedulerError(value)

Bases: GLib.Enum

FIXED_SCHEDULER_ERROR_SETUP = 0

Could not start scheduler due to error

class Ufo.GpuNodeInfo(value)

Bases: GLib.Enum

OpenCL device info types. Refer to the OpenCL standard for complete details about each information.

GLOBAL_MEM_SIZE = 0

Global memory size

MAX_MEM_ALLOC_SIZE = 1

Maximum allocatable global memory size

LOCAL_MEM_SIZE = 2

Local memory size

MAX_WORK_GROUP_SIZE = 3

Maximum work group size

NAME = 4

Name of the associated device

class Ufo.GroupSchedulerError(value)

Bases: GLib.Enum

GROUP_SCHEDULER_ERROR_SETUP = 0

Could not start scheduler due to error

class Ufo.LocalSchedulerError(value)

Bases: GLib.Enum

LOCAL_SCHEDULER_ERROR_SETUP = 0

Could not start scheduler due to error

class Ufo.PluginManagerError(value)

Bases: GLib.Enum

Possible errors that Ufo.PluginManager.get_task() can return.

MODULE_NOT_FOUND = 0

The module could not be found

MODULE_OPEN = 1

Module could not be opened

SYMBOL_NOT_FOUND = 2

Necessary entry symbol was not found

class Ufo.ProfilerTimer(value)

Bases: GLib.Enum

Use these values to select a specific timer when calling Ufo.Profiler.start(), Ufo.Profiler.stop() and Ufo.Profiler.elapsed().

IO = 0

Select I/O timer

CPU = 1

Select CPU timer

GPU = 2

Select GPU timer

FETCH = 3

Select timer that measures the synchronization time to fetch data from the queues.

RELEASE = 4

Select timer that measures the synchronization time to push data to the queues.

LAST = 5

Auxiliary value, do not use.

class Ufo.ResourcesError(value)

Bases: GLib.Enum

OpenCL related errors.

GENERAL = 0

General resource problems

LOAD_PROGRAM = 1

Could not load the OpenCL file

CREATE_PROGRAM = 2

Could not create a program from the sources

BUILD_PROGRAM = 3

Could not build program from sources

CREATE_KERNEL = 4

Could not create kernel

class Ufo.SchedulerError(value)

Bases: GLib.Enum

SCHEDULER_ERROR_SETUP = 0

Could not start scheduler due to error

class Ufo.SendPattern(value)

Bases: GLib.Enum

The send pattern describes how results are passed to connected nodes.

BROADCAST = 0

Broadcast data to all connected nodes

SCATTER = 1

Scatter data among connected nodes.

SEQUENTIAL = 2

Break up a linear input stream and transfer sub streams one by one to connected nodes.

class Ufo.TaskError(value)

Bases: GLib.Enum

SETUP = 0

Error during setup of a task.

GET_REQUISITION = 1

Error while trying to get the size of a

COPY = 2

Error during copying of a task. buffer.

class Ufo.TaskGraphError(value)

Bases: GLib.Enum

Task graph errors

JSON_KEY = 0

Key is not found in JSON

BAD_INPUTS = 1

Inputs of a task do not play well with each other.