View Source EXLA.Client (EXLA v0.9.2)

Functions for managing EXLA.Client.

See EXLA module docs for a general introduction.

Summary

Functions

Returns the name of the default client.

Fetches a client with the given name from configuration.

Sends buffer from device outfeed to the given process tagged by ref.

Returns a map of supported platforms with device information.

Sends data_and_typespecs to device infeed.

Functions

Returns the name of the default client.

Fetches a client with the given name from configuration.

Link to this function

from_outfeed(client, device_id, typespecs, pid, ref)

View Source

Sends buffer from device outfeed to the given process tagged by ref.

Link to this function

get_supported_platforms()

View Source

Returns a map of supported platforms with device information.

Link to this function

to_infeed(client, device_id, data_and_typespecs)

View Source

Sends data_and_typespecs to device infeed.

data_and_typespecs is a list of values corresponding to a single infeed operation. It must be a list of two element tuples where the first element is a binary and the second element is a EXLA.Typespec.