Skip to content

Commit 643883f

Browse files
ldoraubb-ur
authored andcommitted
move UR headers to dedicated unified-runtime include directory (#21399)
This aligns how headers are installed by other components. While UR was never meant to be used directly, this change may break existing software that includes <ur_api.h>. Ref: intel/llvm#21421 Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
1 parent 9fdd9d9 commit 643883f

228 files changed

Lines changed: 254 additions & 254 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/codegen/codegen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <vector>
2222

2323
#include "helpers.h"
24-
#include "ur_api.h"
24+
#include "unified-runtime/ur_api.h"
2525

2626
constexpr unsigned PAGE_SIZE = 4096;
2727

examples/collector/collector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <sstream>
2626
#include <string_view>
2727

28-
#include "ur_api.h"
28+
#include "unified-runtime/ur_api.h"
2929
#include "xpti/xpti_trace_framework.h"
3030

3131
constexpr uint16_t TRACE_FN_BEGIN =

examples/hello_world/hello_world.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <stdlib.h>
1414
#include <vector>
1515

16-
#include "ur_api.h"
16+
#include "unified-runtime/ur_api.h"
1717

1818
//////////////////////////////////////////////////////////////////////////
1919
int main(int, char *[]) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#if defined(__cplusplus)
1818
#pragma once
1919
#endif
20-
#include "ur_api.h"
20+
#include "unified-runtime/ur_api.h"
2121

2222
#if defined(__cplusplus)
2323
extern "C" {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef UR_PRINT_H
1515
#define UR_PRINT_H 1
1616

17-
#include "ur_api.h"
17+
#include "unified-runtime/ur_api.h"
1818

1919
#if defined(__cplusplus)
2020
extern "C" {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef UR_PRINT_HPP
1616
#define UR_PRINT_HPP 1
1717

18-
#include "ur_api.h"
18+
#include "unified-runtime/ur_api.h"
1919
#include <bitset>
2020
#include <ostream>
2121

scripts/core/INTRO.rst

Lines changed: 4 additions & 4 deletions

scripts/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def main():
187187
if args["clean"]:
188188
clean()
189189

190-
incpath = os.path.join("../include/")
190+
incpath = os.path.join("../include/unified-runtime/")
191191
srcpath = os.path.join("../source/")
192192
docpath = os.path.join("../docs/")
193193

0 commit comments

Comments
 (0)