-
Notifications
You must be signed in to change notification settings - Fork 797
[SYCL][ESIMD][EMU] ESIMD_CPU Kernel launch and ESIMD_EMU backend loading #4020
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
Merged
kbobrovs
merged 56 commits into
intel:sycl
from
dongkyunahn-intel:esimdcpu_kernel_launch_memory_intrinsic
Nov 30, 2021
Merged
Changes from 6 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
ee6e9e8
[SYCL][ESIMD][EMU] ESIMD_CPU Kernel launch and Emulated Intrinsics
dongkyunahn-intel 6b15320
Atomic fix
dongkyunahn-intel 3249056
Removing dependency on _pi_image/buffer in kernel compilation
dongkyunahn-intel 7b163d6
Revert changes in ESIMD_CPU device interface
dongkyunahn-intel 0151dc7
Revert file relocation for future merging
dongkyunahn-intel 7533a83
Changes in ESIMD_CPU device interface definition
dongkyunahn-intel c96efe1
Removing interleaved '__SYCL_DEVICE_ONLY__' in memory_intrin.hpp
dongkyunahn-intel 1266ceb
Removing 'get_pointer()' and changing space for 'raw_send'
dongkyunahn-intel 986a4f8
Merge branch 'sycl' into esimdcpu_kernel_launch_memory_intrinsic
dongkyunahn-intel c14a755
Build failure fix after merging sycl branch
dongkyunahn-intel 33c3645
Merge branch 'sycl' into esimdcpu_kernel_launch_memory_intrinsic
dongkyunahn-intel 2a9e789
Reverting a change already applied in PR#4011
dongkyunahn-intel 49bc656
Rebase fix / File path order fix
dongkyunahn-intel 1fd05a9
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel 69d1cfb
Handling 'void' kernel argument type
dongkyunahn-intel 94cb161
Clang-format error fix
dongkyunahn-intel 0b87d06
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel 80d4c5e
'Group' argument fix
dongkyunahn-intel b9f9663
Empty header file generation for toolchain building w/o CM
dongkyunahn-intel 686a2eb
Enabling kernel execution with kernel_handler argument
dongkyunahn-intel 7d1e481
Adding 'esimd_cpu' in ParseAllowList unit-test
dongkyunahn-intel 8044e82
Merge branch 'sycl' into esimdcpu_kernel_launch_memory_intrinsic
dongkyunahn-intel a586d1e
Update sycl/include/sycl/ext/intel/experimental/esimd/detail/atomic_i…
dongkyunahn-intel 3671aad
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel 1afc4dc
clang-format fix
dongkyunahn-intel 37a0e78
Recovering isESIMD() argument
dongkyunahn-intel 3710d07
__esimd_raw_send* are removed
dongkyunahn-intel 6a41df5
Typo fix - recovering a line removed by mistake
dongkyunahn-intel bb6c3a0
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel b698f1e
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel f183ec2
New cpp file to contain getESIMDDeviceInterface
dongkyunahn-intel 4543b8f
Reordering backend initializations
dongkyunahn-intel 21f11fe
Failure fixes
dongkyunahn-intel 30d738f
Windows ABI test failure fix
dongkyunahn-intel 76771f4
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel c042ae7
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel ceb309d
single_task debugging
dongkyunahn-intel b073a4e
Fixing void(void) type kernel failure
dongkyunahn-intel be26fc0
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel d4846bf
Merging fixes
dongkyunahn-intel 7e65a1b
clang-format fix / void(sycl::group<Dims>) type fix for host device
dongkyunahn-intel 2ef648b
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel 41490ea
clang-format error fix
dongkyunahn-intel 9b57175
Reverting changes in memory intrinsic implementations
dongkyunahn-intel c7fad03
Missing revert from previous reverting
dongkyunahn-intel 71b7a8f
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel 06f132c
Build error fix from esimd_cpu/emulator renaming
dongkyunahn-intel 4d96d4b
Missing changes for esimd_cpu/emulator renaming
dongkyunahn-intel e45087b
Another renaming change
dongkyunahn-intel c1e6f9c
clang-format fix
dongkyunahn-intel 6985a64
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel 8ee0bd8
Re-privatizing 'MKernel' for backward compatibility
dongkyunahn-intel 2bf84de
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel b85ba9f
ParseAllowList failure fix
dongkyunahn-intel 7a3e968
clang-format fix
dongkyunahn-intel 270763f
Merge branch 'sycl' of https://github.com/intel/llvm into esimdcpu_ke…
dongkyunahn-intel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
sycl/include/sycl/ext/intel/experimental/esimd/detail/atomic_intrin.hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//==-------- atomic_intrin.hpp - Atomic intrinsic definition file ----------==// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
#pragma once | ||
|
||
#include <CL/sycl/exception.hpp> | ||
|
||
template <typename Ty> Ty atomic_add_fetch(Ty *ptr, Ty val) { | ||
dongkyunahn-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
#ifdef _WIN32 | ||
// TODO: Windows will be supported soon | ||
throw cl::sycl::feature_not_supported(); | ||
#else | ||
return __atomic_add_fetch(ptr, val, __ATOMIC_RELAXED); | ||
#endif | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.