oneapi-src / oneAPI-samples

Samples for Intel® oneAPI Toolkits
https://oneapi-src.github.io/oneAPI-samples/
MIT License
922 stars 681 forks source link

[oneMKL] Let's also change RNG Host API engines when an engines' macro is switched one #2443

Closed andreyfe1 closed 3 weeks ago

andreyfe1 commented 1 month ago

Existing Sample Changes

Description

It was found that only oneMKL RNG Device API random engines are changing by USE_* macros. It would be better if we also change Host API random engines.

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

andreyfe1 commented 3 weeks ago

@jimmytwei , could you please merge the changes?