UH-OH

It looks like you don’t have access to that feature yet

Contact sales to get upgraded to the full DevStudio experience.

UH-OH

It looks like you don't have access to that feature yet.

to select
to navigate
escto close
Chimera Compute Library (CCL) API Reference

Software Interrupt and Host Synchronization


The diagram above shows a back and forth interaction of Host and Chimera. An example of this can be found in tests/static_data_tests/host_sync.cpp

File: /src/synchronization.hppLines 34–40
  /**
   * @brief Stall the Chimera pipeline until a Tensor transfer is complete.
   * @tparam TensorType
   * @param tensor Tensor to barrier on
   */
  template <typename TensorType>
  void barrier(TensorType& tensor) {
File: /src/synchronization.hppLines 48–54
  /**
   * @brief Raise a Chimera software interrupt to the host. The interrupt can be blocking or non-blocking as defined by
interruptMode.
   * @param interruptMode Interrupt mode
   * @param code Interrupt code to be associated with the interrupt
   */
  void swInterrupt(SWInterruptMode interruptMode, const std::uint8_t code) {
File: /src/synchronization.hppLines 66–75
  /**
   * @brief Barrier on a tensor and then raise a software interrupt to the host. The interrupt can be blocking or
non-blocking as defined by interruptMode.
   * @tparam TensorType
   * @param tensor Tensor to barrier on
   * @param interruptMode Interrupt mode. Blocking or Non-blocking
   * @param code Interrupt code to be associated with the interrupt
   */
  template <typename TensorType>
  void hostSync(TensorType& tensor, SWInterruptMode interruptMode, std::uint8_t code) {
Table of Contents


© Copyright 2026 Quadric All Rights Reserved • Privacy Policy
This documentation is preliminary and confidential. It is subject to change. Quadric does not give any warranty express or implied that the contents will be complete or accurate or up to date. The company shall not be liable for any loss, actions, claims, proceedings, demands or costs or damages whatsoever or howsoever caused arising directly or indirectly in connection with or arising out of the use of this material.

Sign in to your account

Don't have an account? Create an Account
By signing in, you are agreeing to our Terms of Use and Privacy Policy.

Develop.

Simulate.

Profile.

Collaborate.

We use cookies to enhance your browsing experience, and analyze our traffic.
By clicking "Accept All", you consent to our use of cookies.