Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Update get_profiling_info() test #1114

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5f59859
Merge pull request #1 from intel/intel
raaiq1 Jul 8, 2022
d1bcb22
Merge pull request #2 from intel/intel
raaiq1 Jul 11, 2022
da75864
[SYCL] Added <iostream> headers to tests which assumed "CL/sycl.hpp" …
raaiq1 Jun 22, 2022
6de9f3b
Merge branch 'intel:intel' into intel
raaiq1 Jul 13, 2022
0a598af
Added more <iostream> headers
raaiq1 Jul 14, 2022
9e05a5d
Merge branch 'intel' of https://github.com/intel/llvm-test-suite into…
raaiq1 Jul 15, 2022
5243b22
Merge branch 'intel-intel' into raaiq
raaiq1 Jul 15, 2022
678276b
Merge pull request #5 from intel/intel
raaiq1 Jul 15, 2022
582a7b1
Added more <iostream> headers
raaiq1 Jul 18, 2022
aa2a646
Moe headers
raaiq1 Jul 18, 2022
64a7251
Formatted code
raaiq1 Jul 19, 2022
34e8fd5
More formatting
raaiq1 Jul 19, 2022
1075064
sup
raaiq1 Jul 19, 2022
8edd861
Update .gitignore
raaiq1 Jul 20, 2022
2ddde7c
Merge branch 'intel:intel' into intel
raaiq1 Jul 20, 2022
9bb25a7
Merge branch 'intel:intel' into raaiq
raaiq1 Jul 20, 2022
c4b2eb6
Please merge
raaiq1 Jul 20, 2022
642ab7e
Merge branch 'intel:intel' into intel
raaiq1 Jul 25, 2022
62f7f13
Update host-task-dependency.cpp
raaiq1 Jul 25, 2022
2bc4ee9
Removed changes unrelated to PR
raaiq1 Jul 25, 2022
bb66a8a
Merge branch 'raaiq' of https://github.com/raaiq1/llvm-test-suite int…
raaiq1 Jul 25, 2022
aee02be
Modify test
raaiq1 Jul 27, 2022
0175b23
Merge branch 'intel:intel' into get_profiling__info
raaiq1 Jul 28, 2022
3df0bd8
Modify test
raaiq1 Jul 27, 2022
74e2392
Merge branch 'get_profiling__info' of https://github.com/raaiq1/llvm-…
raaiq1 Jul 28, 2022
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
1 change: 1 addition & 0 deletions SYCL/AtomicRef/atomic_memory_order.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include "atomic_memory_order.h"
#include <cassert>
#include <iostream>
using namespace sycl;

int main() {
Expand Down
1 change: 1 addition & 0 deletions SYCL/BFloat16/bfloat16_type.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <iostream>
#include <sycl/ext/oneapi/experimental/bfloat16.hpp>
#include <sycl/sycl.hpp>

Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/access_to_subset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include <iostream>
#include <sycl/sycl.hpp>

using namespace cl::sycl;
using acc_w = accessor<int, 2, access::mode::write, access::target::device>;

Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/accessor/accessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//
#include <cassert>
#include <iostream>
#include <sycl/sycl.hpp>

struct IdxID1 {
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/barrier_order.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

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

Expand Down
4 changes: 2 additions & 2 deletions SYCL/Basic/boolean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
#include <sycl/sycl.hpp>

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

using namespace cl::sycl;
namespace s = cl::sycl;
Expand Down
4 changes: 2 additions & 2 deletions SYCL/Basic/buffer/buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
//
//===----------------------------------------------------------------------===//

#include <sycl/sycl.hpp>

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

using namespace sycl;

Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/buffer/buffer_create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: env ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER %t.out 2> %t1.out; cat %t1.out %GPU_CHECK_PLACEHOLDER
// UNSUPPORTED: ze_debug-1,ze_debug4

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

using namespace cl::sycl;

int main() {
Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/buffer/buffer_full_copy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
//===----------------------------------------------------------------------===//

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

void check_copy_device_to_host(cl::sycl::queue &Queue) {
constexpr int size = 6, offset = 2;

Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/buffer/buffer_migrate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// root-devices)
//

#include <iostream>
#include <sycl/sycl.hpp>
using namespace cl::sycl;

Expand Down
4 changes: 2 additions & 2 deletions SYCL/Basic/buffer/reinterpret.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
//
//===----------------------------------------------------------------------===//

#include <sycl/sycl.hpp>

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

// This tests verifies basic cases of using cl::sycl::buffer::reinterpret
// functionality - changing buffer type and range. This test checks that
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/diagnostics/handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//

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

using namespace cl;
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/fpga_tests/fpga_dsp_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// RUN: %clangxx -fsycl -fintelfpga %s -o %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

#include <iostream>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include <sycl/sycl.hpp>

Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/fpga_tests/fpga_latency_control_lsu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// RUN: %clangxx -fsycl -fintelfpga %s -o %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

#include <iostream>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include <sycl/sycl.hpp>

Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/fpga_tests/fpga_latency_control_pipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// RUN: %clangxx -fsycl -fintelfpga %s -o %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

#include <iostream>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include <sycl/sycl.hpp>

Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/fpga_tests/fpga_lsu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// RUN: %clangxx -fsycl -fintelfpga %s -o %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

#include <iostream>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include <sycl/sycl.hpp>

Expand Down
4 changes: 2 additions & 2 deletions SYCL/Basic/half_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
//
//===----------------------------------------------------------------------===//

#include <sycl/sycl.hpp>

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

using namespace cl::sycl;
Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/handler/interop_task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

#include "../../helpers.hpp"
#include <chrono>
#include <iostream>
#include <thread>

using namespace cl;

int main() {
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/handler/run_on_host_intel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
//
//===----------------------------------------------------------------------===//

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

#include "../../helpers.hpp"
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/handler/run_on_host_intel2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out

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

// This tests that early free of command (and, hence, the command group) won't
Expand Down
4 changes: 1 addition & 3 deletions SYCL/Basic/image/image_accessor_readwrite_half.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@

#include <cassert>
#include <iomanip>
#include <sycl/sycl.hpp>
#if DEBUG_OUTPUT
#include <iostream>
#endif
#include <sycl/sycl.hpp>

namespace s = cl::sycl;

Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/image/image_max_size.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

// The test checks that 'image' with max allowed sizes is handled correctly.

#include <iostream>
#include <sycl/sycl.hpp>
using namespace cl::sycl;

Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/image/srgba-read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// UNSUPPORTED: cuda
// UNSUPPORTED: hip

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

using namespace sycl;
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/kernel_bundle/kernel_bundle_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// -fsycl-device-code-split is not supported for cuda
// UNSUPPORTED: cuda || hip

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

#include <algorithm>
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/linear-sub_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <sycl/sycl.hpp>

using namespace cl::sycl;
Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/parallel_for_disable_range_roundup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -sycl-std=2020 %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 %t.out %GPU_CHECK_PLACEHOLDER --check-prefix CHECK-ENABLED

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

using namespace sycl;

range<1> Range1 = {0};
Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/parallel_for_range_roundup.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER

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

using namespace sycl;

range<1> Range1 = {0};
Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/partition_supported.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ not support the info::partition_affinity_domain provided, an exception with the
**feature_not_supported error code must be thrown**.
*/

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

/** returns true if the device supports a particular affinity domain
*/
static bool
Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/range_offset_fit_in_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out

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

namespace S = cl::sycl;

void checkRangeException(S::runtime_error &E) {
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/sampler/sampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
//===----------------------------------------------------------------------===//

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

Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/stream/auto_flush.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
//
//===----------------------------------------------------------------------===//

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

using namespace cl::sycl;
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/stream/stream_max_stmt_exceed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// RUN: %GPU_RUN_ON_LINUX_PLACEHOLDER %t.out %GPU_CHECK_ON_LINUX_PLACEHOLDER
// RUN: %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER

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

#include <cassert>
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/subdevice_pi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Intel OpenCL CPU Runtime supports device partition on all (multi-core)
// platforms. Other devices may not support this.

#include <iostream>
#include <string>
#include <sycl/sycl.hpp>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions SYCL/Basic/use_pinned_host_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <sycl/sycl.hpp>

#include <iostream>
#include <string>

int main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// CHECK-NEXT: 3
// CHECK-NEXT: 4 : 5

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

using namespace cl::sycl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <chrono>
#include <cstdint>
#include <iostream>
#include <random>
#include <sycl/sycl.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <chrono>
#include <cstdint>
#include <iostream>
#include <random>
#include <sycl/sycl.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <chrono>
#include <cstdint>
#include <iostream>
#include <random>
#include <sycl/sycl.hpp>

Expand Down
1 change: 1 addition & 0 deletions SYCL/DeprecatedFeatures/opencl-interop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <numeric>
#include <sycl/sycl.hpp>

Expand Down
1 change: 1 addition & 0 deletions SYCL/DeprecatedFeatures/subbuffer_interop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <sycl/sycl.hpp>

#include <cassert>
#include <iostream>
#include <memory>
#include <numeric>

Expand Down
1 change: 1 addition & 0 deletions SYCL/DeviceLib/assert-windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <array>
#include <assert.h>
#include <iostream>
#include <sycl/sycl.hpp>

using namespace cl::sycl;
Expand Down
1 change: 1 addition & 0 deletions SYCL/DeviceLib/assert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@

#include <array>
#include <assert.h>
#include <iostream>
#include <stdlib.h>
#include <sycl/sycl.hpp>
#include <sys/types.h>
Expand Down
1 change: 1 addition & 0 deletions SYCL/DeviceLib/built-ins/nan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// RUN: %GPU_RUN_PLACEHOLDER %t_gpu.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

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

#include <cassert>
Expand Down
1 change: 1 addition & 0 deletions SYCL/DeviceLib/std_complex_math_fp64_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <array>
#include <cassert>
#include <complex>
#include <iostream>
#include <sycl/sycl.hpp>

#include "math_utils.hpp"
Expand Down
1 change: 1 addition & 0 deletions SYCL/DeviceLib/std_complex_math_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <array>
#include <cassert>
#include <complex>
#include <iostream>
#include <sycl/sycl.hpp>

#include "math_utils.hpp"
Expand Down
Loading