[SYCL] Add sycl-ls utility for listing devices discovered/selected by SYCL RT#1575
[SYCL] Add sycl-ls utility for listing devices discovered/selected by SYCL RT#1575bader merged 6 commits intointel:syclfrom
Conversation
|
That looks like a good idea but the name |
Ruyk
left a comment
There was a problem hiding this comment.
Few comments. The tool is called lspi but actually uses SYCL interfaces so doesn't need PI, why not sycl-ls ? will PI interfaces be used later?
|
changed the name to sycl-ls per suggestions |
bader
left a comment
There was a problem hiding this comment.
Could you add test case(s) for concise mode as well, please?
sycl/tools/sycl-ls/sycl-ls.cpp
Outdated
There was a problem hiding this comment.
| // The "sycl-ls" utility lists all platforms/devices discovered by PI similar to | |
| // how lscl prints this for OpenCL devices. | |
| // The "sycl-ls" utility lists all platforms/devices discovered by SYCL similar to | |
| // how clinfo prints this for OpenCL devices. |
FYI: AFAIK, lscl is Intel internal tool. I suggest mentioning clinfo - a well-known open source analog.
There was a problem hiding this comment.
I think you missed PI -> SYCL.
be12b85 to
a4b2814
Compare
|
the windows build failed, is this a known issue: |
|
@smaslov-intel, could you remove "executable" flags added by this patch to CMake script files, please? |
This looks like an issue introduced by @v-klochkov by bb73d92. Issues like this will be prevented once #1583 is merged. |
|
Other then two comments above, this LGTM. |
|
As long as the other comments are addressed, this LGTM as well. |
I fixed the executable bits, what is the second one? |
This PR breaks the build on Windows. |
|
LGTM, but it requires a conflict resolution for handler.hpp before it can be merged. |
…YCL RT Change-Id: I9ce0f40d97aa6008c9b860342a8efd9c6e62fa3c Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
|
@alexbatashev, how it happened that we have |
Human error + lack of LITs that would indicate this mistake. |
|
@alexbatashev, would you mind fixing this issue in a separate PR (+ the bug with double declaration fixed by @smaslov-intel in this PR), please? |
Sure |
…_docs * origin/sycl: (6482 commits) [SYCL][NFC] Clean formatting in Markdown documents (intel#1635) [SYCL][Doc] Remove obsolete parens from README (intel#1637) [SYCL] Fix failing ABI tests when LLVM_LIBDIR_SUFFIX is set (intel#1605) [SYCL] Fix warnings in libdevice (intel#1630) [SYCL][CUDA] Triage and clean LIT (intel#1620) [SYCL][NFC] Fix GCC 8 compilation warnings (intel#1631) [SYCL] Minor fixes in LowerWGScope [SYCL] PI: correct default interoperability plugin selection [SYCL] Add faster reduction implementations using atomic or/and intel::reduce() (intel#1615) [SYCL] Add sycl-ls utility for listing devices discovered/selected by SYCL RT (intel#1575) [SYCL] Fix getDeviceFromHandler declarations (intel#1626) [SPIR-V] Correct/improve declaration of SPIR-V builtins (intel#1519) [SYCL][USM] Improve USM allocator test and fix improper behavior. (intel#1538) [SYCL] Fix failing ABI LITs (intel#1622) [SYCL] Add support for MSVC internal math functions in device library (intel#1441) [SYCL] Add runtime library versioning (intel#1604) [SYCL] Check weak symbols in ABI dumps (intel#1609) [NFC][SYCL] Improve kernel metadata test (intel#1610) Revert "[SYCL] XFAIL LIT test due to duplicate diagnostic" (intel#1460) [SYCL] Move the reduction command group funcs out of handler.hpp (intel#1602) ...
Add sycl-ls utility for listing devices discovered/selected by SYCL RT.
Add LIT testing (using sycl-ls) for the effect of SYCL_BE.
Change-Id: I9ce0f40d97aa6008c9b860342a8efd9c6e62fa3c
Signed-off-by: Sergey V Maslov sergey.v.maslov@intel.com