Forum

Important Notice for New User Registrations

To combat an increasing number of spam and bot registrations, we now manually approve all new user registrations. While this may cause a delay until your account is approved, this step is essential to ensure the quality and security of this forum.

To help us verify your registration as legitimate, please use a clear name as user name or an official email address (such as a work, university, or similar address). If you’re concerned that we may not recognize your registration as non-spam, feel free to email us at with a request to approve your username.

Please or Register to create posts and topics.

Free Wake Compute device

Hi David,

I’m getting familiar with the SiL interface available in QBlade, the one in Python environment.

It is possible to set from SiL interface the “Free Wake Compute device” (GPU, CPU OpenMP or CPU single thread)? I didn’t find any function in the library able to do it.

What is the default value when I’m launching a simulation from the SiL interface?

Thanks a lot,

Simon

Hi Simon,

the compute device is chosen during the call to:

  • void createInstance(int clDevice = 0, int groupSize = 32)

See the documentation here: LINK.

The numbering is consistent with the numbering in the GUI version of QBlade, but you can also enable the debug output for a list of devices by calling:

  • void setDebugInfo(bool isDebug);

If you are using matlab, you also need to call the function

  • void setLogFile(char *str);

to store the std:cout output as its not possible to print this in the matlab console.

BR,

David

Scroll to Top