repo_name
stringclasses
10 values
file_path
stringlengths
29
222
content
stringlengths
24
926k
extention
stringclasses
5 values
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/common/gui/gdivideo.cpp
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/common/gui/xvideo.cpp
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/common/utility/fast_random.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/common/utility/utility.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/build_with_openmp/build_with_openmp.cpp
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WARRANT...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/build_with_openmp/build_with_openmp_optimized.cpp
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WARRANT...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/build_with_serial/trace.serial.cpp
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/build_with_serial/build_with_serial.cpp
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WARRANT...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/build_with_tbb/build_with_tbb_optimized.cpp
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WARRANT...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/src/build_with_tbb/build_with_tbb.cpp
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WARRAN...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/plane.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/types.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/macros.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/sphere.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/ppm.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/util.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/quadric.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/tgafile.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/video.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/bndbox.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/light.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/grid.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/pthread_w.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/winvideo.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/apitrigeom.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/triangle.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/machine.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/ui.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/parse.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/vector.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/imageio.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/coordsys.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/ring.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/trace.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/extvol.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/box.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/tachyon_video.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/global.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/imap.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/cylinder.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/vol.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/jpeg.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/api.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/intersect.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/shade.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/objbound.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/camera.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/render.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/tachyon/linux/include/texture.h
//============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright (C) Intel Corporation // // THIS FILE IS PROVIDED "AS IS" WITH NO WAR...
h
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/matrix_multiply_vtune/src/matrix.cpp
//============================================================== // Copyright 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <malloc.h> #include <iostream> // dpc_common.hpp can be found in the dev-utilities include folder. // e.g.,...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/matrix_multiply_vtune/src/multiply.hpp
//============================================================== // Copyright 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= constexpr int MAXTHREADS=16; constexpr int NUM=1024; constexpr int MATRIXTILESIZE=16; constexpr int WPT=8; #include ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/VTuneProfiler/matrix_multiply_vtune/src/multiply.cpp
//============================================================== // Copyright 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <array> #include <sycl/sycl.hpp> // matrix multiply routines #include "multiply.hpp" using namespace sycl; ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/Advisor/matrix_multiply_advisor/src/matrix.cpp
//============================================================== // Copyright 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <malloc.h> #include <iostream> // dpc_common.hpp can be found in the dev-utilities include folder. // e.g.,...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/Advisor/matrix_multiply_advisor/src/multiply.hpp
//============================================================== // Copyright 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= constexpr int MAXTHREADS=16; constexpr int NUM=1024; constexpr int MATRIXTILESIZE=16; constexpr int WPT=8; #include ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/Advisor/matrix_multiply_advisor/src/multiply.cpp
//============================================================== // Copyright 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <array> #include <sycl/sycl.hpp> // matrix multiply routines #include "multiply.hpp" using namespace sycl; ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/Benchmarks/STREAM/src/stream.cpp
/*-----------------------------------------------------------------------*/ /* Program: STREAM */ /* Revision: $Id: stream.c,v 5.10 2013/01/17 16:01:06 mccalpin Exp mccalpin $ */ /* Original code developed by John D. McCalpin */ /* Programm...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/array-transform/src/array-transform.cpp
//============================================================== // Copyright (C) Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= // This is a simple DPC++ program that accompanies the Getting Started // Guide of the debugger. The kernel does not c...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_InvalidContexts/src/1_matrix_mul_invalid_contexts.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_InvalidContexts/src/2_matrix_mul.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_RaceCondition/src/3_matrix_mul.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_RaceCondition/src/1_matrix_mul_race_condition.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_RaceCondition/src/2_matrix_mul.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_BadBuffers/src/a2_matrix_mul.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_BadBuffers/src/a1_matrix_mul_zero_buff.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_BadBuffers/src/b2_matrix_mul_usm.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_BadBuffers/src/b1_matrix_mul_null_usm.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_SLMSize/src/1_matrix_mul_SLM_size.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_SLMSize/src/2_matrix_mul.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_Exceptions/src/2_matrix_mul_multi_offload.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_Exceptions/src/3_matrix_mul.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/guided_matrix_mult_Exceptions/src/1_matrix_mul_null_pointer.cpp
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /** * Matrix_mul multiplies two large matrices both the CPU and the offload device, * then compares results. If th...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/jacobi/src/bugged.cpp
//============================================================== // Copyright (C) Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= // This file is included only into jacobi-bugged program. // This file contains methods where actual computation takes ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/jacobi/src/jacobi.cpp
//============================================================== // Copyright (C) Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= // The program solves the linear equation Ax=b, where matrix A is a // n x n sparse matrix with diagonals [1 1 5 1 1], ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Tools/ApplicationDebugger/jacobi/src/fixed.cpp
//============================================================== // Copyright (C) Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= // This file is included only into jacobi-fixed program. // This file contains methods where actual computation takes p...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/src/main.cpp
//============================================================== // Copyright © 2020-2021 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <boost/range/iterator_range.hpp> ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/src/pointpillars/nms.cpp
//============================================================== // Copyright © 2020-2021 Intel Corporation (oneAPI modifications) // // SPDX-License-Identifier: MIT // ============================================================= // ------------------------------------------------------------------ // Copyright (c) 2...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/src/pointpillars/scatter.cpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/src/pointpillars/postprocess.cpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/src/pointpillars/preprocess.cpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/src/pointpillars/pointpillars.cpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/src/pointpillars/anchorgrid.cpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/src/pointpillars/scan.cpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
cpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/pointpillars.hpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/pointpillars_util.hpp
//============================================================== // Copyright © 2020-2021 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #pragma once #include <vector> namespace pointpillars { /** * 3D-Object representation */ struct ObjectDete...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/nms.hpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/postprocess.hpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/pointpillars_config.hpp
//============================================================== // Copyright © 2020-2021 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #pragma once #include <cmath> #include <string> #include <vector> namespace pointpillars { /** * Anchor rep...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/scatter.hpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/scan.hpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/common.hpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/preprocess.hpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/anchorgrid.hpp
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/devicemanager/devicemanager.hpp
//============================================================== // Copyright © 2021 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #pragma once #include <sycl/sycl.hpp> #include <iostream> namespace devicemanager { // Report all available SYCL ...
hpp
oneAPI-samples
data/projects/oneAPI-samples/Publications/GPU-Opt-Guide/memory-movement/vec-buffer-host.cpp
//============================================================== // Copyright © 2022 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <array> #include <chrono> #include <iostream> #include <CL/sycl.hpp> #include "align.hpp" template <typen...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Publications/GPU-Opt-Guide/memory-movement/align.hpp
//============================================================== // Copyright © 2022 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #ifndef __ALIGN #define __ALIGN 1 enum class Alignment : size_t { Normal = sizeof(void *), SSE = 16, AVX = 32,...
hpp
oneAPI-samples
data/projects/oneAPI-samples/Publications/GPU-Opt-Guide/host-device-memory/mem-move.cpp
//============================================================== // Copyright © 2022 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <array> #include <chrono> #include <iostream> #include <CL/sycl.hpp> #include "align.hpp" sycl::default_s...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Publications/GPU-Opt-Guide/host-device-memory/align.hpp
//============================================================== // Copyright © 2022 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #ifndef __ALIGN #define __ALIGN 1 enum class Alignment : size_t { Normal = sizeof(void *), SSE = 16, AVX = 32,...
hpp
oneAPI-samples
data/projects/oneAPI-samples/Publications/GPU-Opt-Guide/restrict/vec-add-restrict.cpp
//============================================================== // Copyright © 2022 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <CL/sycl.hpp> #include <array> #include <chrono> #include <iostream> // Array type and data size for this e...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Publications/GPU-Opt-Guide/sub-group/sub-group-0.cpp
//============================================================== // Copyright © 2022 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <CL/sycl.hpp> #include <iostream> int main() { sycl::queue q{sycl::gpu_selector_v}; std::cout << "Devic...
cpp
oneAPI-samples
data/projects/oneAPI-samples/Publications/GPU-Opt-Guide/sub-group/sub-group-4.cpp
//============================================================== // Copyright © 2022 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <CL/sycl.hpp> #include <iostream> int main() { sycl::queue q{sycl::gpu_selector_v, sycl::...
cpp