Skip to content

Add SYCL support#284

Open
allnes wants to merge 135 commits intoembedded-dev-research:mainfrom
allnes:an/sycl-integration
Open

Add SYCL support#284
allnes wants to merge 135 commits intoembedded-dev-research:mainfrom
allnes:an/sycl-integration

Conversation

@allnes
Copy link
Copy Markdown
Member

@allnes allnes commented Mar 17, 2026

No description provided.

@allnes allnes requested a review from aobolensk March 26, 2026 13:27
@@ -1,12 +1,14 @@
#pragma once
// clang-format off
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is that for?

}

#ifdef HAS_OPENMP
#ifdef _OPENMP
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, revert

namespace parallel {

enum class Backend : std::uint8_t {
enum class Backend : uint8_t {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, please revert

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, remove all unnecessary changes (since we don't have checks for all platforms). Ideally, that should be one very simple script with < 100 LoC

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why it was removed?

@@ -1,4 +1,5 @@
#include <cstdint>
#include <stdint.h>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same and everywhere else. Why?

- name: Run clang-tidy
run: |
clang-tidy app/**/*.cpp src/**/*.cpp -format-style=file -header-filter="($PWD/include/.*|$PWD/src/.*|$PWD/app/.*)" -p build
python3 - <<'PY'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be no changes. app/SYCL can contain exclusions

- name: Run clang-tidy
run: |
clang-tidy app/**/*.cpp src/**/*.cpp -format-style=file -header-filter="($PWD/include/.*|$PWD/src/.*|$PWD/app/.*)" -p build
mapfile -t sources < <(find app src -path 'app/SYCL' -prune -o -name '*.cpp' -print)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not addressed

concat_connections[layer_name].push_back(base_input_name);
}
}
auto concat_layer = LayerFactory::createConcatLayer(axis, options);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, revert

#include "layers/Tensor.hpp"
#include "layers/TransposeLayer.hpp"
#include "layers_oneDNN/BinaryOpLayer.hpp"
#include "layers_oneDNN/ConcatLayer.hpp"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, revert

@@ -1,30 +1,216 @@
include(ExternalProject)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes also should've not been popped out

@@ -1,5 +1,5 @@
#pragma once
#include <cstdint>
#include <stdint.h>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not addressed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants