Results 1 to 2 of 2

Thread: Best way for near-real-time communication between kernels and host in SPIR

  1. #1
    Newbie Newbie
    Join Date
    Nov 2017

    Best way for near-real-time communication between kernels and host in SPIR

    The most important uses for this might be:
    1. Quasi immediate stop of all excuting kernels if host decides so, or if some fatal error occured at either side. Also used if one kernel decides it's best to stop all other executing kernels or, if possible, cancel kernels still on the Queue.
    2. Allow progress/status monitoring by the host of work progress by (regularly) communicating done/total cycles ratio or a stage enum. Could be host request based, as host can base on regular time events.
    3. Allow cumulative non fatal error/warning messages list in realtime to the host.
    4. dynamic modification of calculation parameters by the host

  2. #2
    Newbie Newbie
    Join Date
    Nov 2017
    I'm working now on a a "Shuttle kernel", which exchanges Control and status information between host and worker kernels. The shuttle kernel should be launched every 100 ms or so and finish its work within a few milliseconds or less. Launching the shuttle kernel is based on a repetitive timer at the host side. Does anyone have a better idea or is this a sound approach? This approach allows all objectives in my original Question all at once.

Similar Threads

  1. Replies: 4
    Last Post: 10-17-2013, 06:00 AM
  2. Device-host memory communication
    By jbasic in forum OpenCL
    Replies: 2
    Last Post: 10-07-2009, 11:48 AM
  3. Is this real-time?
    By glfreak in forum OpenGL: General
    Replies: 5
    Last Post: 12-13-2007, 05:46 PM
  4. real-time FUR.
    By DSA in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 01-19-2004, 12:51 PM
  5. Real-Time
    By ZeeBoy in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-19-2001, 03:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean