[OpenMP] Remove duplicates from the list if using 'auto'
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 12 Apr 2023 20:08:59 +0000 (15:08 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 14 Apr 2023 20:14:08 +0000 (15:14 -0500)
commit909344c7ac4d77823127c3470c5270f7882fdfd4
tree487a7c77e4c0724a510b93984ba8bd9efa20a89b
parent77f4e38d0b8a19f6265e1341f962666e29de1c05
[OpenMP] Remove duplicates from the list if using 'auto'

Summary:
We can detect the user's GPUs via the `auto` option. But if the user has
multiple GPUs installed or set the list incorrectly, we need to remove
the duplicates.
openmp/libomptarget/DeviceRTL/CMakeLists.txt