Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix of <sycl.hpp> includes #76

Merged
merged 2 commits into from
Oct 8, 2024
Merged
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
2 changes: 1 addition & 1 deletion dl-cifar/SYCL/basic-dl/lnorm_layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sycl.hpp>
#include <sycl/sycl.hpp>

#include "tracing.h"
#include "timing.h"
Expand Down
4 changes: 2 additions & 2 deletions dl-cifar/SYCL/basic-dl/softmax_layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
#ifndef DL_CIFAR_SOFTMAX_LAYER_H_
#define DL_CIFAR_SOFTMAX_LAYER_H_

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include "timing.h"
#include "tracing.h"
#include "handle.h"

#include <sycl.hpp>
#include <sycl/sycl.hpp>

#if defined(USE_CUBLAS)
#include <cublas_v2.h>
Expand Down
2 changes: 1 addition & 1 deletion dl-cifar/SYCL/blas_routines.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "tracing.h"
#include "handle.h"

#include <sycl.hpp>
#include <sycl/sycl.hpp>


#if defined(USE_CUBLAS)
Expand Down
2 changes: 1 addition & 1 deletion dl-cifar/SYCL/handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <iostream>
#include <string>
#include "timing.h"
#include <sycl.hpp>
#include <sycl/sycl.hpp>

#if defined(USE_CUBLAS)
#include <cublas_v2.h>
Expand Down
2 changes: 1 addition & 1 deletion dl-cifar/SYCL/upsample.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sycl.hpp>
#include <sycl/sycl.hpp>

#include "tracing.h"
#include "timing.h"
Expand Down
2 changes: 1 addition & 1 deletion dl-mnist/SYCL/tensor_mgr.onednn.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <list>
#include <array>

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include "oneapi/dnnl/dnnl.hpp"
#include "../common/workload_params.h"

Expand Down
2 changes: 1 addition & 1 deletion easywave/SYCL/src/EasyWave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include "Utilities.h"
#include "Timer.h"

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion easywave/SYCL/src/ewCudaKernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "ewCudaKernels.hpp"
#include "ewGpuNode.hpp"
#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include <cmath>

SYCL_EXTERNAL __attribute__((always_inline)) void waveUpdate(KernelData data, sycl::nd_item<2> item_ct1)
Expand Down
2 changes: 1 addition & 1 deletion easywave/SYCL/src/ewCudaKernels.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifndef EW_CUDA_KERNELS
#define EW_CUDA_KERNELS

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include "ewGpuNode.hpp"

#ifdef USE_INLINE_KERNELS
Expand Down
2 changes: 1 addition & 1 deletion easywave/SYCL/src/ewGpuNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#define CPP_MODULE "CGPU"
#include "Logging.h"

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include "ewCudaKernels.hpp"
#include "ewGpuNode.hpp"
#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion easywave/SYCL/src/ewGpuNode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#define EW_GPUNODE_H

/* FIXME: check header dependencies */
#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include <stdio.h>
#include <utility>

Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/SYCLMiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You should have received a copy of the GNU General Public License
along with ethminer. If not, see <http://www.gnu.org/licenses/>.
*/

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include <libethcore/Farm.h>
#include <ethash/ethash.hpp>

Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/SYCLMiner.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ along with ethminer. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include "ethash_sycl_miner_kernel.h"

#include <libdevcore/Worker.h>
Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/dagger_shuffled.dp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include "ethash_sycl_miner_kernel_globals.h"

#include "ethash_sycl_miner_kernel.h"
Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/dpcpp_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#pragma once

#include <sycl.hpp>
#include <sycl/sycl.hpp>

#define __dpct_inline__ __inline__ __attribute__((always_inline))
#define DEV_INLINE __dpct_inline__
Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/ethash_sycl_miner_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include "SYCLMiner.h"
#include "ethash_sycl_miner_kernel.h"

Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/ethash_sycl_miner_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#pragma once

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include <stdint.h>
#include <sstream>
#include <stdexcept>
Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/ethash_sycl_miner_kernel_globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include <vector>
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/fnv.dp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#define FNV_PRIME 0x01000193

#define fnv(x, y) ((x)*FNV_PRIME ^ (y))
Expand Down
2 changes: 1 addition & 1 deletion ethminer/libethash-sycl/keccak.dp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include "dpcpp_helper.h"

DEV_INLINE sycl::uint2 xor5(const sycl::uint2 a, const sycl::uint2 b, const sycl::uint2 c, const sycl::uint2 d, const sycl::uint2 e)
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/SYCL.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

#include "CommandLineParser.h"

#include <sycl.hpp>
#include <sycl/sycl.hpp>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion lc0/src/neural/sycl/cuBlasContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
*/

#include <iostream>
#include <sycl.hpp>
#include <sycl/sycl.hpp>

#ifdef USE_CUBLAS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define OPERATIONS_LIB_BACKEND_ONEAPI_BACKEND_HPP

#include <operations/common/Singleton.tpp>
#include <sycl.hpp>
#include <sycl/sycl.hpp>

namespace operations {
namespace backend {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <set>
#include <unistd.h>

#include <sycl.hpp>
#include <sycl/sycl.hpp>

using namespace std;
using namespace operations::common;
Expand Down