Skip to content

Commit cd31998

Browse files
committed
xe: ocl: strengthen sycl header guard
1 parent ce0d450 commit cd31998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gpu/intel/ocl/ocl_utils.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2019-2024 Intel Corporation
2+
* Copyright 2019-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@
2626
#include "gpu/intel/ocl/ocl_utils.hpp"
2727
#include "xpu/ocl/utils.hpp"
2828

29-
#if __has_include(<sycl/sycl.hpp>)
29+
#ifdef DNNL_WITH_SYCL
3030
#include "gpu/intel/sycl/engine.hpp"
3131
#endif
3232

0 commit comments

Comments
 (0)