Skip to content

[SYCL][ESIMD] Explicit SIMD memory-access APIs #1856

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
merged 1 commit into from
Jul 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sycl/include/CL/sycl/intel/esimd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include <CL/sycl/intel/esimd/esimd.hpp>
#include <CL/sycl/intel/esimd/esimd_math.hpp>
#include <CL/sycl/intel/esimd/esimd_memory.hpp>
#include <CL/sycl/intel/esimd/esimd_view.hpp>

#ifdef __SYCL_DEVICE_ONLY__
Expand Down
6 changes: 1 addition & 5 deletions sycl/include/CL/sycl/intel/esimd/detail/esimd_intrin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#pragma once

#include <CL/sycl/intel/esimd/detail/esimd_types.hpp>
#include <CL/sycl/intel/esimd/detail/esimd_util.hpp>
#include <CL/sycl/intel/esimd/esimd_enum.hpp>
#include <cstdint>

Expand Down Expand Up @@ -140,11 +141,6 @@ class AccessorPrivateProxy {
#endif
};

constexpr unsigned int ElemsPerAddrDecoding(unsigned int ElemsPerAddrEncoded) {
// encoding requires 2^ElemsPerAddrEncoded
return (1 << ElemsPerAddrEncoded);
}

/// read from a basic region of a vector, return a vector
template <typename BT, int BN, typename RTy>
vector_type_t<typename RTy::element_type, RTy::length>
Expand Down
Loading