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.

The choice of free vortex wake compute device in MATLAB

Hello David, I had solved my previous problems thanks to your suggestions. Now I have a new question: the free vortex wake compute device can be chosen in the QBlade GUI, how can I set this function up also in MATLAB? Is there any interface function or writing location in simulation file to  achieve this? Thank you very much again.

Yours sincerely,

Chen

Quote from David on 7. November 2023, 11:06

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

Sorry, I just found the previous answer for my question.

Best Regards,

Chen

David has reacted to this post.
David

Scroll to Top