oneDPL icon indicating copy to clipboard operation
oneDPL copied to clipboard

Check for support of specific type of USM in tests

Open dmitriy-sobolev opened this issue 3 years ago • 2 comments

Signed-off-by: Sobolev, Dmitriy [email protected]

Some devices do not support shared allocations, e.g. some FPGA cards/configurations. Using not supported allocation will result in getting nullptr and then accessing it.

  • [X] To verify with the 2021.1 version of DPC++ compiler in order not to break backward compatibility of the tests. 2021.1.2 compiler throws "sycl::runtime_error" and returns "This device aspect has not been implemented yet".

The patch which adds support of USM aspects: https://github.com/intel/llvm/commit/ce3ac0986844401248b7835ce7a6f7a9eb78aac2

dmitriy-sobolev avatar Nov 16 '21 12:11 dmitriy-sobolev

@SergeyKopienko, could you review this patch?

dmitriy-sobolev avatar Dec 14 '21 16:12 dmitriy-sobolev

@dmitriy-sobolev, please rebase from main this branch.

SergeyKopienko avatar Dec 15 '21 06:12 SergeyKopienko