In this exercise you will learn how to find a suitable device for using the USM data management model.
Create a custom device selector as you did in the “Device Discovery” exercise.
Within this device selector check for whether the device being inspected has support for the USM device allocations.
This can be querying for the aspect::usm_device_allocations
aspect.
Once you have a device selector which will choose a device which supports USM
create a queue
using it to select its device, remember to handle errors.
For DevCloud via JupiterLab follow these instructions.
For DPC++: instructions.
For AdaptiveCpp: instructions.