oneapi-src / oneAPI-samples

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

Fix ONSAM-1905 #2376

Closed zma2 closed 3 months ago

zma2 commented 3 months ago

Existing Sample Changes

Description

Use default array size 128 if no array size is specified Gracefully exit if a device does not have subdevices Remove compilation warnings with the latest compiler

Fixes Issue# ONSAM-1905

External Dependencies

None

Type of change

Please delete options that are not relevant. Add a 'X' to the one that is applicable.

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