Skip to content
Closed
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2025 Intel Corporation
* Copyright (C) 2025-2026 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -13,7 +13,12 @@
#include "definitions/decoder2_graph_base.h"

#include <memory>

#if __has_include(<ur/ur_api.h>)
#include <ur/ur_api.h>
#else
#include <ur_api.h>
#endif

class Decoder2GraphUR : public Decoder2GraphBase<Decoder2GraphUR> {
public:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2024-2025 Intel Corporation
* Copyright (C) 2024-2026 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -9,7 +9,11 @@

#include "framework/test_case/test_result.h"

#if __has_include("ur/ur_api.h")
#include "ur/ur_api.h"
#else
#include "ur_api.h"
#endif

#include <iostream>
#include <math.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2024-2025 Intel Corporation
* Copyright (C) 2024-2026 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -13,7 +13,12 @@
#include "definitions/sin_kernel_graph_base.h"

#include <iostream>

#if __has_include(<ur/ur_api.h>)
#include <ur/ur_api.h>
#else
#include <ur_api.h>
#endif

class SinKernelGraphUR : public SinKernelGraphBase {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
#include "definitions/submit_graph.h"

#include <iostream>

#if __has_include(<ur/ur_api.h>)
#include <ur/ur_api.h>
#else
#include <ur_api.h>
#endif

static constexpr size_t n_dimensions = 3;
static constexpr size_t global_size[] = {1, 1, 1};
Expand Down
6 changes: 5 additions & 1 deletion source/framework/ur/ur.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2024 Intel Corporation
* Copyright (C) 2024-2026 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -9,7 +9,11 @@

#include "framework/configuration.h"

#if __has_include(<ur/ur_api.h>)
#include <ur/ur_api.h>
#else
#include <ur_api.h>
#endif

struct UrState {
UrState();
Expand Down