Skip to content

Commit 253d28a

Browse files
author
Alexander Johnston
authored
[SYCL] Reinclude spirv_vars in libdevice
Accidentally removed the inclusion of spirv_vars.hpp in device.h in 41ea7ab. Reinclude it here. Signed-off-by: Alexander Johnston <[email protected]>
1 parent 41ea7ab commit 253d28a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libdevice/device.h

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// We need the following header to ensure the definition of all spirv variables
10+
// required by the wrapper libraries.
11+
#include "spirv_vars.hpp"
12+
913
#ifndef __LIBDEVICE_DEVICE_H__
1014
#define __LIBDEVICE_DEVICE_H__
1115

0 commit comments

Comments
 (0)