-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
sycl/test-e2e/ESIMD/unified_memory_api/scatter_usm_legacy.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//==------- scatter_usm_legacy.cpp - DPC++ ESIMD on-device test | ||
//-------------==// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
// Use per-kernel compilation to have more information about failing cases. | ||
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out | ||
// RUN: %{run} %t.out | ||
|
||
// The test verifies esimd::scatter() functions accepting USM pointer | ||
// and optional compile-time esimd::properties. | ||
// The scatter() calls in this test do not use cache-hint properties | ||
// or VS > 1 (number of loads per offset) to not impose using PVC features. | ||
// | ||
// TODO: Remove this test when GPU driver issue with llvm.masked.scatter is | ||
// resolved and ESIMD starts using llvm.masked.scatter by default. | ||
// "-D__ESIMD_GATHER_SCATTER_LLVM_IR" is not used here. | ||
|
||
#include "scatter_usm.cpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters