repo_name
stringclasses
10 values
file_path
stringlengths
29
222
content
stringlengths
24
926k
extention
stringclasses
5 values
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/memory.hpp
//==---- memory.hpp -------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/dpl_utils.hpp
//==---- dpl_utils.hpp ----------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/math.hpp
//==---- math.hpp ---------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/blas_utils.hpp
//==---- blas_utils.hpp----------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/atomic.hpp
//==---- atomic.hpp -------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/rng_utils.hpp
//==---- rng_utils.hpp ----------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/dpl_extras/numeric.h
//==---- numeric.h --------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/dpl_extras/iterators.h
//==---- iterators.h ------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/dpl_extras/algorithm.h
//==---- algorithm.h ------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/dpl_extras/memory.h
//==---- memory.h ---------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/dpl_extras/vector.h
//==---- vector.h ---------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/dpl_extras/dpcpp_extensions.h
//==---- dpcpp_extensions.h ------------------*- C++ -*---------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------===// #ifndef ...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_convolutionSeparable_SYCLmigration/01_dpct_output/include/dpct/dpl_extras/functional.h
//==---- functional.h -----------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/02_sycl_migrated/Common/helper_timer.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/02_sycl_migrated/Common/helper_string.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/02_sycl_migrated/Common/helper_image.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/02_sycl_migrated/Common/exception.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/02_sycl_migrated/Common/helper_cuda.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/02_sycl_migrated/Common/helper_functions.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/02_sycl_migrated/Samples/0_Introduction/concurrentKernels/concurrentKernels.dp.cpp
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
cpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/01_dpct_output/Common/helper_timer.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/01_dpct_output/Common/helper_string.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/01_dpct_output/Common/helper_image.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/01_dpct_output/Common/exception.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/01_dpct_output/Common/helper_cuda.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/01_dpct_output/Common/helper_functions.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/guided_concurrentKernels_SYCLMigration/01_dpct_output/Samples/0_Introduction/concurrentKernels/concurrentKernels.dp.cpp
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
cpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/CombinationalLogic/mandelbrot/src/main.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <chrono> #include <iomanip> #include <iostream> // dpc_common.hpp can be found in the dev-utilities include...
cpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/CombinationalLogic/mandelbrot/src/mandel.hpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #pragma once #include <complex> #include <exception> #include <iomanip> #include <iostream> // stb/*.h files can b...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/CombinationalLogic/sepia-filter/src/device_selector.hpp
//============================================================== // Copyright © 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #ifndef DEVICESELECTOR_HPP #define DEVICESELECTOR_HPP #include <cstring> #include <iostream> #include <string> #inclu...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/CombinationalLogic/sepia-filter/src/sepia_sycl.cpp
//============================================================== // Copyright © 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <chrono> #include <cmath> #include <iostream> #include <sycl/sycl.hpp> #include "device_selector.hpp" // dp...
cpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/N-BodyMethods/Nbody/src/main.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <iostream> #include "GSimulation.hpp" int main(int argc, char** argv) { int n; // number of partic...
cpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/N-BodyMethods/Nbody/src/GSimulation.hpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #ifndef _GSIMULATION_HPP #define _GSIMULATION_HPP #include <sycl/sycl.hpp> #include <cstdlib> #include <fstream> #i...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/N-BodyMethods/Nbody/src/type.hpp
using RealType = float;
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/N-BodyMethods/Nbody/src/Particle.hpp
#ifndef _PARTICLE_HPP #define _PARTICLE_HPP #include <cmath> #include "type.hpp" struct Particle { public: Particle() : pos{}, vel{}, acc{}, mass{} {}; RealType pos[3]; RealType vel[3]; RealType acc[3]; RealType mass; }; #endif
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/N-BodyMethods/Nbody/src/GSimulation.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include "GSimulation.hpp" // dpc_common.hpp can be found in the dev-utilities include folder. // e.g., $ONEAPI_ROO...
cpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/GraphAlgorithms/all-pairs-shortest-paths/src/apsp.cpp
//============================================================== // This sample provides a parallel implementation of blocked Floyd Warshall // algorithm to compute all pairs shortest paths using SYCL. //============================================================== // Copyright © Intel Corporation // // SPDX-License-I...
cpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/helper_timer.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/helper_string.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/exception.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/helper_cuda.h
/* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
h
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/taskflow.hpp
#pragma once #include "core/executor.hpp" #include "algorithm/critical.hpp" #include "algorithm/for_each.hpp" /** @dir taskflow @brief root taskflow include dir */ /** @dir taskflow/core @brief taskflow core include dir */ /** @dir taskflow/algorithm @brief taskflow algorithms include dir */ /** @dir taskflow/cuda...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/dsl/meta_macro.hpp
// 2020/08/30 - Created by netcan: https://github.com/netcan // ref https://github.com/Erlkoenig90/map-macro/ #pragma once #ifdef _MSC_VER #define TF_EMPTY() #define TF_GET_ARG_COUNT_(...) \ TF_PASTE(TF_GET_ARG_COUNT_I(__VA_ARGS__, 64, 63, 62, 61, 60, 59, 58, 57, 56, \ ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/dsl/type_list.hpp
// 2020/08/28 - Created by netcan: https://github.com/netcan #pragma once #include <cstddef> namespace tf { namespace dsl { template <typename...> using void_t = void; template <typename... Ts> struct TypeList { using type = TypeList<Ts...>; static constexpr size_t size = 0; template <typename... T> struct app...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/dsl/task_dsl.hpp
// 2020/08/28 - Created by netcan: https://github.com/netcan #pragma once #include "../core/flow_builder.hpp" #include "meta_macro.hpp" #include "task_analyzer.hpp" #include "task_trait.hpp" namespace tf { namespace dsl { struct EmptyContext {}; template <typename CONTEXT = EmptyContext, typename... Chains> class Task...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/dsl/tuple_utils.hpp
// 2020/08/28 - Created by netcan: https://github.com/netcan #pragma once #include <cstddef> #include <tuple> namespace tf { namespace dsl { namespace detail { // get tuple element index by f, if not exists then index >= tuple_size template <typename TUP, template <typename> class F, typename = void> struct TupleEleme...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/dsl/task_trait.hpp
// 2020/08/28 - Created by netcan: https://github.com/netcan #pragma once #include "../core/flow_builder.hpp" #include "../core/task.hpp" #include "type_list.hpp" #include <type_traits> namespace tf { namespace dsl { struct TaskSignature {}; template <typename TASK, typename CONTEXT> struct TaskCb { using TaskType ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/dsl/dsl.hpp
// TaskflowDSL is an experimental project that leverages C++17 to // provide a dedicated interface for expressive taskflow programming // // Created by netcan: https://github.com/netcan #pragma once #include "dsl/task_dsl.hpp" namespace tf { } // end of namespace tf -----------------------------------------------...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/dsl/task_analyzer.hpp
// 2020/08/28 - Created by netcan: https://github.com/netcan #pragma once #include "connection.hpp" #include "type_list.hpp" #include <type_traits> namespace tf { namespace dsl { template <typename... Links> class TaskAnalyzer { template <typename FROMs, typename TOs, typename = void> struct BuildOneToOneLink; ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/dsl/connection.hpp
// 2020/08/28 - Created by netcan: https://github.com/netcan #pragma once #include "../core/flow_builder.hpp" #include "task_trait.hpp" #include "tuple_utils.hpp" #include "type_list.hpp" namespace tf { namespace dsl { template <typename F, typename T> class Connection { using FROMs = typename TaskTrait<F>::TaskList...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/tsq.hpp
#pragma once #include "../utility/macros.hpp" #include "../utility/traits.hpp" /** @file tsq.hpp @brief task queue include file */ namespace tf { // ---------------------------------------------------------------------------- // Task Types // ------------------------------------------------------------------------...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/graph.hpp
#pragma once #include "../utility/traits.hpp" #include "../utility/iterator.hpp" #include "../utility/object_pool.hpp" #include "../utility/os.hpp" #include "../utility/math.hpp" #include "../utility/small_vector.hpp" #include "../utility/serializer.hpp" #include "error.hpp" #include "declarations.hpp" #include "semap...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/executor.hpp
#pragma once #include "observer.hpp" #include "taskflow.hpp" /** @file executor.hpp @brief executor include file */ namespace tf { // ---------------------------------------------------------------------------- // Executor Definition // ---------------------------------------------------------------------------- /...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/task.hpp
#pragma once #include "graph.hpp" /** @file task.hpp @brief task include file */ namespace tf { // ---------------------------------------------------------------------------- // Task Types // ---------------------------------------------------------------------------- /** @enum TaskType @brief enumeration of all...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/error.hpp
#pragma once #include <iostream> #include <sstream> #include <exception> #include "../utility/stream.hpp" namespace tf { // Procedure: throw_se // Throws the system error under a given error code. template <typename... ArgsT> //void throw_se(const char* fname, const size_t line, Error::Code c, ArgsT&&... args) { vo...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/async_task.hpp
#pragma once #include "graph.hpp" /** @file async_task.hpp @brief asynchronous task include file */ namespace tf { // ---------------------------------------------------------------------------- // AsyncTask // ---------------------------------------------------------------------------- /** @brief class to create ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/async.hpp
#pragma once #include "executor.hpp" // https://hackmd.io/@sysprog/concurrency-atomics namespace tf { // ---------------------------------------------------------------------------- // Async // ---------------------------------------------------------------------------- // Function: async template <typename F> aut...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/environment.hpp
#pragma once #define TF_ENABLE_PROFILER "TF_ENABLE_PROFILER" namespace tf { } // end of namespace tf -----------------------------------------------------
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/observer.hpp
#pragma once #include "task.hpp" #include "worker.hpp" /** @file observer.hpp @brief observer include file */ namespace tf { // ---------------------------------------------------------------------------- // timeline data structure // ---------------------------------------------------------------------------- /*...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/notifier.hpp
// 2019/02/09 - created by Tsung-Wei Huang // - modified the event count from Eigen #pragma once #include <iostream> #include <vector> #include <cstdlib> #include <cstdio> #include <atomic> #include <memory> #include <deque> #include <mutex> #include <condition_variable> #include <thread> #include <algorithm> #inclu...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/topology.hpp
#pragma once namespace tf { // ---------------------------------------------------------------------------- // class: TopologyBase class TopologyBase { friend class Executor; friend class Node; template <typename T> friend class Future; protected: std::atomic<bool> _is_cancelled { false }; }; // ---...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/semaphore.hpp
#pragma once #include <vector> #include <mutex> #include "declarations.hpp" /** @file semaphore.hpp @brief semaphore include file */ namespace tf { // ---------------------------------------------------------------------------- // Semaphore // -----------------------------------------------------------------------...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/taskflow.hpp
#pragma once #include "flow_builder.hpp" /** @file taskflow/core/taskflow.hpp @brief taskflow include file */ namespace tf { // ---------------------------------------------------------------------------- /** @class Taskflow @brief class to create a taskflow object A %taskflow manages a task dependency graph whe...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/declarations.hpp
#pragma once namespace tf { // ---------------------------------------------------------------------------- // taskflow // ---------------------------------------------------------------------------- class AsyncTopology; class Node; class Graph; class FlowBuilder; class Semaphore; class Subflow; class Runtime; class ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/executor-module-opt.hpp
#pragma once #include "observer.hpp" #include "taskflow.hpp" /** @file executor.hpp @brief executor include file */ namespace tf { // ---------------------------------------------------------------------------- // Executor Definition // ---------------------------------------------------------------------------- /...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/worker.hpp
#pragma once #include "declarations.hpp" #include "tsq.hpp" #include "notifier.hpp" /** @file worker.hpp @brief worker include file */ namespace tf { // ---------------------------------------------------------------------------- // Class Definition: Worker // -------------------------------------------------------...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/core/flow_builder.hpp
#pragma once #include "task.hpp" /** @file flow_builder.hpp @brief flow builder include file */ namespace tf { /** @class FlowBuilder @brief class to build a task dependency graph The class provides essential methods to construct a task dependency graph from which tf::Taskflow and tf::Subflow are derived. */ cla...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/traits.hpp
#pragma once #include <type_traits> #include <iterator> #include <iostream> #include <fstream> #include <mutex> #include <stack> #include <queue> #include <vector> #include <algorithm> #include <memory> #include <atomic> #include <thread> #include <future> #include <functional> #include <unordered_map> #include <unord...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/singleton.hpp
#pragma once namespace tf { /** @class Singleton @brief class template to create a thread-safe singleton object */ template <typename T> class Singleton { public: /** @brief get a reference to the singleton object */ inline static T& get() { static T instance; return instance; } private: ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/object_pool.hpp
// 2020/03/13 - modified by Tsung-Wei Huang // - fixed bug in aligning memory // // 2020/02/02 - modified by Tsung-Wei Huang // - new implementation motivated by Hoard // // 2019/07/10 - modified by Tsung-Wei Huang // - replace raw pointer with smart pointer // // 2019/06/13 - created by Tsung-Wei Huang // - implem...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/macros.hpp
#pragma once #if defined(_MSC_VER) #define TF_FORCE_INLINE __forceinline #elif defined(__GNUC__) && __GNUC__ > 3 #define TF_FORCE_INLINE __attribute__((__always_inline__)) inline #else #define TF_FORCE_INLINE inline #endif #if defined(_MSC_VER) #define TF_NO_INLINE __declspec(noinline) #elif defined(__GNUC__)...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/stream.hpp
#pragma once #include <iostream> #include <string> namespace tf { // Procedure: ostreamize template <typename T> void ostreamize(std::ostream& os, T&& token) { os << std::forward<T>(token); } // Procedure: ostreamize template <typename T, typename... Rest> void ostreamize(std::ostream& os, T&& token, Rest&&... re...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/uuid.hpp
#pragma once #include <iostream> #include <string> #include <cstring> #include <limits> #include <random> #include <chrono> namespace tf { // Class: UUID // // A universally unique identifier (UUID) is an identifier standard used in software // construction. A UUID is simply a 128-bit value. The meaning of each bit ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/math.hpp
#pragma once #include <atomic> namespace tf { // rounds the given 64-bit unsigned integer to the nearest power of 2 template <typename T, std::enable_if_t< (std::is_unsigned_v<std::decay_t<T>> && sizeof(T) == 8) , void >* = nullptr> constexpr T next_pow2(T x) { if(x == 0) return 1; x--; x |= x>>1; x |= x>>2...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/iterator.hpp
#pragma once #include <cstddef> #include <type_traits> namespace tf { template <typename T> constexpr std::enable_if_t<std::is_integral<std::decay_t<T>>::value, size_t> distance(T beg, T end, T step) { return (end - beg + step + (step > 0 ? -1 : 1)) / step; } template <typename T> constexpr std::enable_if_t<std::...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/serializer.hpp
#pragma once #include <type_traits> #include <iterator> #include <iostream> #include <fstream> #include <stack> #include <queue> #include <vector> #include <algorithm> #include <memory> #include <functional> #include <map> #include <set> #include <unordered_map> #include <unordered_set> #include <sstream> #include <li...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/os.hpp
#pragma once #include <cstdlib> #include <cstdio> #include <string> #define TF_OS_LINUX 0 #define TF_OS_DRAGONFLY 0 #define TF_OS_FREEBSD 0 #define TF_OS_NETBSD 0 #define TF_OS_OPENBSD 0 #define TF_OS_DARWIN 0 #define TF_OS_WINDOWS 0 #define TF_OS_CNK 0 #define TF_OS_HURD 0 #define TF_OS_SOLARIS 0 #define TF_OS_UNIX ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/utility/small_vector.hpp
// small vector modified from llvm #pragma once #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <cstring> #include <initializer_list> #include <iterator> #include <memory> #if defined(__GNUC__) #define TF_LIKELY(x) (__builtin_expect((x), 1)) #define TF_UNLIKELY(x) (__builti...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/sycl/sycl_graph.hpp
#pragma once #include <CL/sycl.hpp> #include "sycl_meta.hpp" namespace tf { // ---------------------------------------------------------------------------- // syclGraph class // ---------------------------------------------------------------------------- // class: syclGraph class syclGraph : public CustomGraphBase...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/sycl/sycl_task.hpp
#pragma once #include "sycl_graph.hpp" /** @file sycl_task.hpp @brief syclTask include file */ namespace tf { // ---------------------------------------------------------------------------- // syclTask // ---------------------------------------------------------------------------- /** @class syclTask @brief handl...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/sycl/sycl_execution_policy.hpp
#pragma once /** @file sycl_execution_policy.hpp @brief SYCL execution policy include file */ namespace tf { /** @class syclExecutionPolicy @brief class to define execution policy for SYCL standard algorithms @tparam NT number of threads per block @tparam VT number of work units per thread Execution policy config...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/sycl/sycl_meta.hpp
#pragma once #include "sycl_execution_policy.hpp" namespace tf { // default warp size inline constexpr unsigned SYCL_WARP_SIZE = 32; // empty type struct syclEmpty { }; // ---------------------------------------------------------------------------- // iterator unrolling // -----------------------------------------...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/sycl/syclflow.hpp
#pragma once #include "../taskflow.hpp" #include "sycl_task.hpp" /** @file syclflow.hpp @brief main syclFlow include file */ namespace tf { // ---------------------------------------------------------------------------- // class definition: syclFlow // ---------------------------------------------------------------...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/sycl/algorithm/sycl_transform.hpp
#pragma once #include "../sycl_flow.hpp" namespace tf { // Function: _transform_cgh template <typename I, typename C, typename... S> auto syclFlow::_transform_cgh(I first, I last, C&& op, S... srcs) { // TODO: special case N == 0? size_t N = std::distance(first, last); size_t B = _default_group_size(N); re...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/sycl/algorithm/reduce.hpp
#pragma once #include "../syclflow.hpp" namespace tf::detail { // ---------------------------------------------------------------------------- // reduction helper functions // ---------------------------------------------------------------------------- /** @private */ template<unsigned nt, typename T> struct syclBl...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/sycl/algorithm/sycl_for_each.hpp
#pragma once #include "../sycl_flow.hpp" namespace tf { // command group function object of for_each template <typename I, typename C> auto syclFlow::_for_each_cgh(I first, I last, C&& op) { // TODO: special case N == 0? size_t N = std::distance(first, last); size_t B = _default_group_size(N); return [=, o...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/sort.hpp
#pragma once #include "../core/executor.hpp" namespace tf { // threshold whether or not to perform parallel sort template <typename I> constexpr size_t parallel_sort_cutoff() { //using value_type = std::decay_t<decltype(*std::declval<I>())>; using value_type = typename std::iterator_traits<I>::value_type; co...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/for_each.hpp
// reference: // - gomp: https://github.com/gcc-mirror/gcc/blob/master/libgomp/iter.c // - komp: https://github.com/llvm-mirror/openmp/blob/master/runtime/src/kmp_dispatch.cpp #pragma once #include "../core/executor.hpp" namespace tf { // ---------------------------------------------------------------------------- ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/reduce.hpp
#pragma once #include "../core/executor.hpp" namespace tf { // ---------------------------------------------------------------------------- // default reduction // ---------------------------------------------------------------------------- template <typename B, typename E, typename T, typename O> Task FlowBuilder:...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/critical.hpp
#pragma once #include "../core/task.hpp" /** @file critical.hpp @brief critical include file */ namespace tf { // ---------------------------------------------------------------------------- // CriticalSection // ---------------------------------------------------------------------------- /** @class CriticalSectio...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/data_pipeline.hpp
#pragma once #include "pipeline.hpp" namespace tf { // ---------------------------------------------------------------------------- // Class Definition: DataPipe // ---------------------------------------------------------------------------- /** @class DataPipe @brief class to create a stage in a data-parallel pi...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/launch.hpp
#pragma once #include "../core/async.hpp" namespace tf { // Function: launch_loop template <typename P, typename Loop> TF_FORCE_INLINE void launch_loop( size_t N, size_t W, Runtime& rt, std::atomic<size_t>& next, P&& part, Loop&& loop ) { //static_assert(std::is_lvalue_reference_v<Loop>, ""); ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/pipeline.hpp
#pragma once #include "../taskflow.hpp" /** @file pipeline.hpp @brief pipeline include file */ namespace tf { // ---------------------------------------------------------------------------- // Structure Definition: DeferredPipeflow // ---------------------------------------------------------------------------- // ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/scan.hpp
#pragma once #include "launch.hpp" namespace tf { namespace detail { // Function: scan_loop template <typename Iterator, typename BufferT, typename B> TF_FORCE_INLINE void scan_loop( tf::Runtime& rt, std::atomic<size_t>& counter, BufferT& buf, B&& bop, Iterator d_beg, size_t W, size_t w, size_t...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/find.hpp
#pragma once #include "launch.hpp" namespace tf { namespace detail { // Function: find_if_loop template <typename Iterator, typename Predicate> TF_FORCE_INLINE bool find_if_loop( std::atomic<size_t>& offset, Iterator& beg, size_t& prev_e, size_t curr_b, size_t curr_e, Predicate&& predicate ) { // ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/transform.hpp
#pragma once #include "../core/executor.hpp" namespace tf { // ---------------------------------------------------------------------------- // default transform // ---------------------------------------------------------------------------- // Function: transform template <typename B, typename E, typename O, typena...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/algorithm/partitioner.hpp
// reference: // - gomp: https://github.com/gcc-mirror/gcc/blob/master/libgomp/iter.c // - komp: https://github.com/llvm-mirror/openmp/blob/master/runtime/src/kmp_dispatch.cpp #pragma once /** @file partitioner.hpp @brief partitioner include file */ namespace tf { // ------------------------------------------------...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/cuda/cudaflow.hpp
#pragma once #include "../taskflow.hpp" #include "cuda_task.hpp" #include "cuda_capturer.hpp" /** @file taskflow/cuda/cudaflow.hpp @brief cudaFlow include file */ namespace tf { // ---------------------------------------------------------------------------- // class definition: cudaFlow // -------------------------...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/cuda/cuda_task.hpp
#pragma once #include "cuda_graph.hpp" /** @file cuda_task.hpp @brief cudaTask include file */ namespace tf { // ---------------------------------------------------------------------------- // cudaTask Types // ---------------------------------------------------------------------------- /** @enum cudaTaskType @br...
hpp
oneAPI-samples
data/projects/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/02_sycl_migrated/Common/taskflow/cuda/cuda_execution_policy.hpp
#pragma once #include "cuda_error.hpp" /** @file cuda_execution_policy.hpp @brief CUDA execution policy include file */ namespace tf { /** @class cudaExecutionPolicy @brief class to define execution policy for CUDA standard algorithms @tparam NT number of threads per block @tparam VT number of work units per thre...
hpp