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

[ESIMD] Enable aot_mixed.cpp #848

Merged
merged 2 commits into from
Mar 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions SYCL/ESIMD/aot_mixed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,14 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// This test passes with 21.49.21786 driver, and fails with older versions.
// REQUIRES: gpu, TEMPORARILY_DISABLED
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device gen9" -o %t.sycl.out -DENABLE_SYCL=0 %s
// RUN: %GPU_RUN_PLACEHOLDER %t.sycl.out
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device gen9" -o %t.out %s
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// XFAIL: *
// TODO: remove XFAIL once ocloc support for automatic scalar/vector SPIRV
// module dispatching is available in public drivers. Also change '-device gen9'
// (safe variant to reliably get unexpected PASS when ocloc is fixed) to
// %gpu_aot_target_opts aka '-device *' (which stresses ocloc).

// This test checks ESIMD ahead-of-time compilation scenarios:
// This test checks the following ESIMD ahead-of-time compilation scenarios:
// 1) When the application contains both SYCL and ESIMD kernel, thus requiring
// different GPU back-ends (scalar and vector) to kick-in at compile-time.
// 2) When the application contains only ESIMD kernel.
Expand Down