Lib/BaseKernel.cpp
/**
 * Invoke the emulator
 *
 * The emulator runs vc4 code.
 */
Invoke the emulator
The emulator runs vc4 code.
Invoke the emulator The emulator runs vc4 code .
void BaseKernel::emu() {
  if (vc4().has_errors()) {
    warning("Not running on emulator, there were errors during compile.");
    return;
  }
  assert(uniforms.size() != 0);
  emulate(m_numQPUs, vc4().targetCode(), vc4().numVars(), uniforms, getBufferObject());
}
void BaseKernel :: emu ( ) { if ( vc4 ( ) . has_errors ( ) ) { warning ( " " ) ; return ; } assert ( uniforms . size ( ) != 0 ) ; emulate ( m_numQPUs , vc4 ( ) . targetCode ( ) , vc4 ( ) . numVars ( ) , uniforms , getBufferObject ( ) ) ; }
Invoke the emulator
 The emulator runs vc4 code.
Invoke the emulator The emulator runs vc4 code .