Skip to content

Commit fdfde69

Browse files
committed
Change env. var. name according to intel/llvm#5256 discussion
1 parent 7a86d2d commit fdfde69

24 files changed

+24
-24
lines changed

SYCL/Basic/image/image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
//==------------------- image.cpp - SYCL image basic test -----------------==//
88
//

SYCL/Basic/image/image_read.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
#include "image_read.h"
88

SYCL/Basic/image/image_read_fp16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
#include "image_read.h"
88

SYCL/Basic/image/image_write_fp16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
#include "image_write.h"
88

SYCL/Plugin/enqueue-arg-order-image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// Native images are created with host pointers only with host unified memory
44
// support, enforce it for this test.
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 SYCL_HOST_UNIFIED_MEMORY=1 SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 SYCL_HOST_UNIFIED_MEMORY=1 SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
66
// RUN: env SYCL_HOST_UNIFIED_MEMORY=1 SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
77

88
#include <CL/sycl.hpp>

SYCL/Sampler/basic-rw-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
#include "common.hpp"
88
#include <CL/sycl.hpp>

SYCL/Sampler/basic-rw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
/*
88
This file sets up an image, initializes it with data, and verifies that the

SYCL/Sampler/normalized-clamp-linear-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
// UNSUPPORTED: level_zero && windows
88
// XFAIL: cuda

SYCL/Sampler/normalized-clamp-nearest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66
// XFAIL: level_zero
77

88
// TODO: enable this test after flaky bug is gone on Windows

SYCL/Sampler/normalized-clampedge-linear-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
22
// RUN: %HOST_RUN_PLACEHOLDER %t.out
3-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
3+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
55
// XFAIL: cuda || hip
66

SYCL/Sampler/normalized-clampedge-nearest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
22
// RUN: %HOST_RUN_PLACEHOLDER %t.out
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
4-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
4+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
55
//
66
// Missing __spirv_ImageWrite, __spirv_SampledImage,
77
// __spirv_ImageSampleExplicitLod on AMD

SYCL/Sampler/normalized-mirror-linear-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
4-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
4+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out
66

77
// XFAIL: cuda

SYCL/Sampler/normalized-mirror-nearest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66
// XFAIL: cuda
77

88
// CUDA is not handling repeat or mirror correctly with normalized coordinates.

SYCL/Sampler/normalized-none-linear-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
4-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
4+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out
66

77
// XFAIL: cuda

SYCL/Sampler/normalized-none-nearest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
/*
88
This file sets up an image, initializes it with data,

SYCL/Sampler/normalized-repeat-linear-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
4-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
4+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out
66

77
// XFAIL: cuda

SYCL/Sampler/normalized-repeat-nearest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66
// XFAIL: cuda
77

88
// CUDA is not handling repeat or mirror correctly with normalized coordinates.

SYCL/Sampler/unnormalized-clamp-linear-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66
// XFAIL: cuda
77
// Temporary disabled (#204)
88
// UNSUPPORTED: level_zero && windows

SYCL/Sampler/unnormalized-clamp-nearest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
/*
88
This file sets up an image, initializes it with data,

SYCL/Sampler/unnormalized-clampedge-linear-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
4-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
4+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out
66
// XFAIL: cuda
77

SYCL/Sampler/unnormalized-clampedge-nearest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
// On Windows, LevelZero returns wrong value for clampedge
88
// out of bounds. Waiting on fix.

SYCL/Sampler/unnormalized-none-linear-float.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
4-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
4+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out
66

77
// XFAIL: cuda

SYCL/Sampler/unnormalized-none-nearest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
5+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
66

77
/*
88
This file sets up an image, initializes it with data,

SYCL/Tracing/image_printers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
22
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: env PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
3+
// RUN: env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 %GPU_RUN_PLACEHOLDER %t.out
44
//
55
// Unsupported hip call on AMD
66
// UNSUPPORTED: hip_amd

0 commit comments

Comments
 (0)