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

16U = 2
_16U = 2

16 bit unsigned

16S = 3
_16S = 3

16 bit signed

32S = 4
_32S = 4

32 bit signed

32U = 5
_32U = 5

32 bit unsigned

32F = 6
_32F = 6

32 bit float

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
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.MessageType(value)

Bases: GLib.Enum

The type of a message.

STREAM_JSON = 0

use data distribution mode

REPLICATE_JSON = 1

use replication mode

STRUCTURE = 10

returned structure

REQUISITION = 11

returned requisition

RESULT = 12

returned result

ACK = 13

acknowledge

GET_NUM_DEVICES = 2

get remote number of devices

GET_STRUCTURE = 3

get remote structure

GET_REQUISITION = 4

get remote requisition

SEND_INPUTS = 5

insert

GET_RESULT = 6

get result

CLEANUP = 7

demand cleanup

TERMINATE = 8

terminate connection

INVALID_REQUEST = 9

invalid request reply

class Ufo.MessengerError(value)

Bases: GLib.Enum

CONNECTION_PROBLEM = 0

Could not establish a connection

BUFFER_FULL = 1

Buffer is filled up completely

SIZE_MISSMATCH = 2

Size mismatch

INVALID_ADDRESS = 3

Given listen address is invalid

UNKNOWN_PROTOCOL = 4

The given address is of unknown PROTOCOL://

class Ufo.MessengerRole(value)

Bases: GLib.Enum

The role of a connection endpoint.

CLIENT = 0

Messenger is a client

SERVER = 1

Messenger is a server

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.RemoteMode(value)

Bases: GLib.Enum

STREAM = 0

Expand task graph and execute only sub-branches remotely.

REPLICATE = 1

Replicate the entire task graph and execute it remotely.

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

TASK_ERROR_SETUP = 0

Error during setup of a task.

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.