legate.core.runtime.Runtime.create_future#

Runtime.create_future(data: Any, size: int) Future#

Creates a future from a buffer holding a scalar value. The value is copied to the future.

Parameters:
  • data (buffer) – Buffer that holds a scalar value

  • size (int) – Size of the value

Returns:

A new future

Return type:

Future