Skip to content

Instantly share code, notes, and snippets.

@Jokeren
Last active March 24, 2024 10:47
Show Gist options
  • Save Jokeren/6aa4e8d41b1479b9157c8e62714cc9db to your computer and use it in GitHub Desktop.
Save Jokeren/6aa4e8d41b1479b9157c8e62714cc9db to your computer and use it in GitHub Desktop.
Discussion

Multiplexer

  1. How many operations are still pending?

  2. How does a thread ensure its activities are transferred before it ends? Because metrics are stored in thread local maps, it needs to get all activities and attribute them before it dies.

     opencl-api.c
    
     device_finalizer_register vs thread finalizer
    
     pending_operations
    

Memory Allocation

    opencl-api.c

Context and Queue

  1. Context map and queue map mechanism.

  2. uint32_t for context and queue ids.

     opencl-api.c
    
     opencl-queue-map.h 
    
     opencl-context-map.h 
    

Minor Issues

  1. h2d_map commented.

  2. uint32_t for correlation_id

  3. Missing opencl api monitoring. flags=CL_MEM_READ_WRITE

@Zaish11
Copy link

Zaish11 commented Mar 24, 2024

Thank you for your input. We'll introduce a new ad unit called "Video Sequence" where advertisers can create multiple video variants and define their sequence based on criteria like weather. We'll use standard video formats like MP4 or WEBM for compatibility and explore adding playlist support for seamless playback.

Best regards,
Zaish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment