Skip to content

Commit fdb931b

Browse files
author
Vyacheslav Zakharin
committed
Cleared spirv_vars.hpp dependence.
Signed-off-by: Vyacheslav Zakharin <[email protected]>
1 parent 5cb1bcc commit fdb931b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libdevice/spirv_vars.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313

1414
#if __SPIR_TARGET_ONLY__
1515

16-
#ifdef CL_SYCL_LANGUAGE_VERSION
17-
// SYCL provides all the needed definitions.
18-
#include "CL/__spirv/spirv_vars.hpp"
19-
#else // CL_SYCL_LANGUAGE_VERSION
20-
2116
#include <cstddef>
2217
#include <cstdint>
2318

@@ -45,6 +40,5 @@ DEVICE_EXTERNAL inline size_t __spirv_LocalInvocationId_z() {
4540
return __spirv_BuiltInLocalInvocationId.z;
4641
}
4742

48-
#endif // CL_SYCL_LANGUAGE_VERSION
4943
#endif // __SPIR_TARGET_ONLY__
5044
#endif // __LIBDEVICE_SPIRV_VARS_H

0 commit comments

Comments
 (0)