-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SYCL][Graph][Doc] Add SYCL-Graph usage guide and example doc #379
Commits on Aug 1, 2024
-
Revert "[UR][DeviceSantizer] Enable Symoblizer for UR santizer layer (i…
…ntel#14513) (intel#14899) Reverts intel#14513 This reverts commit 56b1410. Build in postcommit broken https://github.com/intel/llvm/actions/runs/10196353773
Configuration menu - View commit details
-
Copy full SHA for 21f7f4e - Browse repository at this point
Copy the full SHA 21f7f4eView commit details -
[SYCL][ESIMD][E2E] Fix test warning about divide by zero (intel#14881)
The problem was this was a runtime `if` and not `if constexpr`. This function was copy-pasted from the ESIMD headers, and the headers one was already fixed to be `if constexpr`, so just use that. Closes: intel#14877 Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 06a3902 - Browse repository at this point
Copy the full SHA 06a3902View commit details -
[SYCL] Fix abi-neutrality test for older libstdc++ versions (intel#14900
Configuration menu - View commit details
-
Copy full SHA for ebb7dd9 - Browse repository at this point
Copy the full SHA ebb7dd9View commit details -
[ABI-Break][SYCL] Fix ext_oneapi_cl_profile to be ABI-neutral (intel#…
…14883) Returning a std::string from device.cpp to device.hpp will cross the ABI boundary. So, we need to neutralize it via detail::string.
Configuration menu - View commit details
-
Copy full SHA for 7b74721 - Browse repository at this point
Copy the full SHA 7b74721View commit details
Commits on Aug 2, 2024
-
[SYCL] Catch exceptions thrown in destructors (intel#14808)
In the same vein as intel#14273, this PR prevents exceptions from leaking in additional destructors caught by Coverity. I'd like to draw attention to `device_impl.cpp` however: A comment was left suggesting that exceptions in the `device_impl` destructor be added to the asynchronous exceptions list. Given that devices are usually destroyed during shutdown, adding exceptions to the exceptions list doesn't seem to make sense, as there would be nothing to handle the exceptions anyway. However, if this understanding is incorrect, and I should still add exceptions to an asynchronous exceptions list, please let me know. Thanks!
Configuration menu - View commit details
-
Copy full SHA for c52a633 - Browse repository at this point
Copy the full SHA c52a633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06609fc - Browse repository at this point
Copy the full SHA 06609fcView commit details -
[SYCL][NFC] change negative test verification for ONEAPI_DEVICE_SELEC…
…TOR (intel#14865) replaced XFAIL approach with "not" usage in RUN lines Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Configuration menu - View commit details
-
Copy full SHA for f7b4a88 - Browse repository at this point
Copy the full SHA f7b4a88View commit details -
[SYCL][Bindless] Add interop memory mapping to USM. (intel#14701)
This patch introduces `map_external_linear_memory` to enable mapping interop memory to linear USM, returning a `void *`. The PI function `piextMemMapExternalLinearMemory` has been added to enable this in the PI layer. A Vulkan test case has been added to test this functionality. --------- Co-authored-by: Duncan Brawley <duncan.brawley@codeplay.com>
Configuration menu - View commit details
-
Copy full SHA for 2321b3a - Browse repository at this point
Copy the full SHA 2321b3aView commit details -
[SYCL][NFC] Remove execute permissions from text files (intel#14913)
Some files mistakenly had the wrong permissions. This removes all execute permissions from asciidoc, .cpp or .hpp files.
Configuration menu - View commit details
-
Copy full SHA for 13ef711 - Browse repository at this point
Copy the full SHA 13ef711View commit details -
Connect support for dynamic linking to user options (intel#14575)
Add option "-fsycl-allow-device-dependencies" to enable support for dynamic linking. Also: 1. No functions are importable without "-fsycl-allow-device-dependencies" 2. Deal with SYCL_EXTERNAL header decls that have lost SYCL_EXTERNAL attribute in LLVM IR 3. SPIRV/SYCL/ESIMD builtins cannot be an imported function Tested in three E2E test cases. Minor change: Change SYCL-EXTERNAL to SYCL_EXTERNAL in testcase comment. --------- Signed-off-by: Lu, John <john.lu@intel.com> Co-authored-by: Marcos Maronas <marcos.maronas@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 3c0532d - Browse repository at this point
Copy the full SHA 3c0532dView commit details -
[SYCL][Bindless] Fix dx12 interop samples for new external type names (…
…intel#14872) - fix for intel#14444 Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Configuration menu - View commit details
-
Copy full SHA for ee703c8 - Browse repository at this point
Copy the full SHA ee703c8View commit details -
Enable dx12 interop testing on windows level zero (intel#14861)
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com> Co-authored-by: Peter Žužek <peterzuzek@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 895f116 - Browse repository at this point
Copy the full SHA 895f116View commit details -
[SYCL] Change NativePrograms.insert to
[]
access (intel#14873)`map.insert` doesn't insert values if the set already contains them. This can happen when UR/PI happens to reuse the same program pointer that it used for a previous program. -- This was causing some tests in the PI 2 UR conversion to randomly fail, including at least intel#14765 . Fixes intel#14819.
Configuration menu - View commit details
-
Copy full SHA for 4f86ab7 - Browse repository at this point
Copy the full SHA 4f86ab7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9fe9ec - Browse repository at this point
Copy the full SHA a9fe9ecView commit details -
[SYCL] Revert NativePrograms addition for linkedPrograms to insert (i…
…ntel#14936) This would fix the post-commit fails for [14873](intel#14873)
Configuration menu - View commit details
-
Copy full SHA for 1d49a15 - Browse repository at this point
Copy the full SHA 1d49a15View commit details -
[SYCL] Move MSVC flags setting before FetchUR (intel#14876)
This to align with what we had before PI removal. We need at least the /EHsc flag to be able to build UR in some Windows systems.
Configuration menu - View commit details
-
Copy full SHA for 5c9450b - Browse repository at this point
Copy the full SHA 5c9450bView commit details
Commits on Aug 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e0ef0d7 - Browse repository at this point
Copy the full SHA e0ef0d7View commit details
Commits on Aug 5, 2024
-
[SYCL] Include sycl path in Bindless image hpp (intel#14903)
Fix debug build issue [-Werror,-Wmicrosoft-include] llvm\include\sycl\handler.hpp:52:
Configuration menu - View commit details
-
Copy full SHA for 433b70c - Browse repository at this point
Copy the full SHA 433b70cView commit details -
[CI][CTS] Turn on test_queue & spec_constants (intel#14880)
intel#14819 has been fixed, so turning the tests back on.
Configuration menu - View commit details
-
Copy full SHA for e48c122 - Browse repository at this point
Copy the full SHA e48c122View commit details -
Remove unused RSBench tests (intel#14935)
See intel#14932 These tests were added 4 years ago with XFAIL and have never been enabled.
Configuration menu - View commit details
-
Copy full SHA for 429b01d - Browse repository at this point
Copy the full SHA 429b01dView commit details -
[SYCL] Implement device image properties for virtual functions (intel…
…#14875) Implementation design explaining those changes in a bigger picture can be found in intel#10540 Key things implemented here: - device code split to outline virtual functions into separate device images - emission of new properties for virtual functions - generation of `calls-indirectly` LLVM IR attribute for kernels that construct objects with virtual functions, but don't do calls - device image manipulations to cleanup or preserve virtual functions depending on a device image Even though those pieces are technically independent from each other, it is hard to split them apart into separate PRs, because they all have to be either present or absent for existing E2E tests for virtual functions to work.
Configuration menu - View commit details
-
Copy full SHA for 6127715 - Browse repository at this point
Copy the full SHA 6127715View commit details -
[SYCL][NewOffloadingModel] Add sycl-dump-device-code command line opt…
…ion (intel#14827) This option allows to save generated SPIRV files in the specified directory.
Configuration menu - View commit details
-
Copy full SHA for 232c95c - Browse repository at this point
Copy the full SHA 232c95cView commit details -
[SYCL][E2E][Bindless] Fix -Werror issues (intel#14912)
Consists of two parts: 1. Fix the setting of `-Werror` on Windows in general for E2E tests * Just appending to `SYCL_E2E_CLANG_CXX_FLAGS` adds an extra semicolon that causes the command line to fail 3. Address remaining `-Werror` failures in Bindless Images E2E tests * Add return from function, even though there's an `assert(false)`
Configuration menu - View commit details
-
Copy full SHA for c455b6f - Browse repository at this point
Copy the full SHA c455b6fView commit details -
[SYCL][E2E] Mark free_function tests unsupported on HIP (intel#14917)
Those tests currently fail on AMD devices. To enable them, [sycl_ext_oneapi_free_function_kernels.asciidoc](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_free_function_kernels.asciidoc) needs to be investigated how to make it work for HIP backend.
Configuration menu - View commit details
-
Copy full SHA for 727e085 - Browse repository at this point
Copy the full SHA 727e085View commit details -
[NVPTX][AMDGPU] Move annotation creation out of clang (intel#14634)
This patch refactors the way we lower SYCL attributes and properties to NVVM annotations, through function attributes and metadata. It unifies the flow better with the SPIR-V paths at the same time. Previously we had: 1. Clang handling function attributes in two places: 1. CodeGenFunction did generic lowering of attributes to function metadata 2. NVPTXTargetCodeGenInfo did its own additional lowering of attributes to NVVM annotations 2. Kernel properties being handled in clang. NVPTXTargetCodeGenInfo lowered kernel properties, which had already been converted to function attributes, to NVVM annotations. 3. Kernel properties for HIP/CUDA *not* being turned into function metadata. Because function metadata is how the ComputeModuleRuntimeInfo library creates runtime info, this meant that target backends couldn't act on properties, as they were lost during lowering. Fundamentally, clang is not the correct place for handling SYCL kernel properties as it unnecessarily touches the front-end for what is really library code. With this patch, we now have: 1. Clang handles function attributes in one place, lowering to function metadata 2. SYCLLowerIR lowers kernel properties to the same function metadata: now working for HIP and CUDA kernels too. Because function metadata is consistently present for kernel properties, they behave as expected on HIP/CUDA targets now. 3. A new pass converts function metadata to NVVM annotations, replacing the code we've taken out of clang.
Configuration menu - View commit details
-
Copy full SHA for 3d73d9b - Browse repository at this point
Copy the full SHA 3d73d9bView commit details -
[NFC][Driver] Remove unneeded headers (intel#14882)
Some system headers included are not needed anymore.
Configuration menu - View commit details
-
Copy full SHA for 1edc943 - Browse repository at this point
Copy the full SHA 1edc943View commit details -
[SYCL][InvokeSimd] Fix two XFAIL tests (intel#14906)
For reference_argument.cpp, the test `RUN` line was wrong, and I added the real error message to the `CHECK` string. For `simd32_platform_error.cpp`, all Intel GPUs we test on report as support SIMD32 (for the ones that don't in hardware, it is probably emulated but it definitely works), so they don't throw this error so we can't test it, so just remove the test. Closes: intel#14643 Closes: intel#14644 Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 7d3ac99 - Browse repository at this point
Copy the full SHA 7d3ac99View commit details -
[SYCL][ESIMD][E2E] Re-enable ctor_load_usm_fp_extra.cpp (intel#14929)
The test was disabled on Linux but the error message shows it failed on Windows: ``` # | ...\llvm\install\bin\clang-offload-wrapper: error: '...\AppData\Local\Temp\lit-tmp-36f_juo7\ctor_load_usm_fp_extra-167ca4_esimd_14.sym': Operation did not complete successfully because the file contains a virus or potentially unwanted software. ``` `AppData` is a Windows folder and the linked PRs show it failing in the Windows job (example [here](https://github.com/intel/llvm/actions/runs/9994419232/job/27630212012)) The test isn't failing on Windows where the issue was reported to occur, so just remove the wrong `UNSUPPORTED` line. Closes: intel#14650 Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 23fa10d - Browse repository at this point
Copy the full SHA 23fa10dView commit details
Commits on Aug 6, 2024
-
[SYCL][Graph] Fix E2E disabled RUN lines (intel#14902)
We were using the `x` prefix to the `RUN` lit command to comment out a `RUN` check. However, LIT still detects this as a `RUN` command, which illustrated in a CI fail of this test recently https://github.com/intel/llvm/actions/runs/10198164930/job/28215254220 Fixed by changing `xRUN` to `RUNx` which I've verified locally is not detected as a `RUN` command by LIT, and can be used to comment the `RUN` command out. Relates to intel#14473
Configuration menu - View commit details
-
Copy full SHA for ffd443c - Browse repository at this point
Copy the full SHA ffd443cView commit details -
[SYCL] Rename sycl-fusion to sycl-jit (intel#14762)
This patch renames the directory (`sycl-fusion` to `sycl-jit`) as well as the involved library names (following the same principle: `fusion` to `jit`). To keep the user facing names consistent, buildbot switches were updated. And finally the codeowners file had to reflect the directory change.
Configuration menu - View commit details
-
Copy full SHA for 1688e41 - Browse repository at this point
Copy the full SHA 1688e41View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce23765 - Browse repository at this point
Copy the full SHA ce23765View commit details -
[SYCL] Switch NativePrograms back to using multimap (intel#14951)
4f86ab replaced `insert` with `[]` in order to fix a pointer re-use issue, however that was not the correct fix. Instead, a multimap was incorrectly converted to a regular map during the PI->UR conversion. This change reverts the rest of 4f86ab (besides the test, which is still valid), and converts NativePrograms back to a multimap. --- Thanks to @AlexeySachkov for finding the real issue in intel#14873 (comment)
Configuration menu - View commit details
-
Copy full SHA for 81c87e5 - Browse repository at this point
Copy the full SHA 81c87e5View commit details -
[Doc] Update sycl_ext_oneapi_atomic16.asciidoc (intel#14952)
Fix wrong link
Configuration menu - View commit details
-
Copy full SHA for 656aa7a - Browse repository at this point
Copy the full SHA 656aa7aView commit details -
[SYCL] Add missing test dependency on FileCheck (intel#14905)
e.g. ``` $ ninja check-sycl-dumps [...] # .---command stderr------------ # | 'FileCheck': command not found # `----------------------------- # error: command failed with exit status: 127 ```
Configuration menu - View commit details
-
Copy full SHA for b575283 - Browse repository at this point
Copy the full SHA b575283View commit details -
[SYCL][Graph][Doc] Add SYCL-Graph usage guide and example doc
- Move examples from spec to reduce bloat - Adds some usage guidelines for common scenarios - Remove reductions from examples since they are not supported
Configuration menu - View commit details
-
Copy full SHA for abb785a - Browse repository at this point
Copy the full SHA abb785aView commit details