GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Introduction
  • Programming Guide
  • Contribution Guide
  • CUDA UR Reference Document
  • AMD HIP UR Reference Document
  • Level Zero UR Reference Document
  • Experimental Features
  • 2D Block Array Capabilities
  • Async Allocation Functions
  • Bindless Images
  • Clock
  • Command-Buffer
  • Device is integrated GPU
  • Device Wait

This view

  • Original page
  • New address

GeezerVison is showing oneapi-src.github.io — Host Task — Unified Runtime Specification documentation

Host Task#

Warning

Experimental features:

  • May be replaced, updated, or removed at any time.

  • Do not require maintaining API/ABI stability of their own additions over time.

  • Do not require conformance testing of their own additions.

Motivation#

This API enables launching a host function on a queue. Unlike native commands, the host function executes asynchronously within the queue context.

CUDA (via cudaLaunchHostFunc) and HIP support this natively. L0v2 adapter calls native Level Zero API zeCommandListAppendHostFunction.

Limitations:
  • Host functions must not call into UR.

  • Access to USM shared memory is not supported on GPUs lacking page fault support.

API#

Enums#

  • ur_device_info_t
    • UR_DEVICE_INFO_ENQUEUE_HOST_TASK_SUPPORT_EXP

  • ur_command_t
    • UR_COMMAND_HOST_TASK_EXP

  • ur_exp_host_task_flags_t

Types#

ur_exp_host_task_properties_t

Functions#

  • urEnqueueHostTaskExp

Changelog#

Revision

Changes

1.0

Initial Draft

Support#

Adapters which support this experimental feature must return true for the new :ref:`UR_DEVICE_INFO_ENQUEUE_HOST_TASK_SUPPORT_EXP <ur-device-info-t>`\ device info query.

Contributors#

  • Piotr Balcer piotr.balcer@intel.com

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.