File: debug_env.cl

package info (click to toggle)
intel-graphics-compiler2 2.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 106,644 kB
  • sloc: cpp: 805,640; lisp: 287,672; ansic: 16,414; python: 3,952; yacc: 2,588; lex: 1,666; pascal: 313; sh: 186; makefile: 35
file content (31 lines) | stat: -rw-r--r-- 1,016 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*========================== begin_copyright_notice ============================

Copyright (C) 2024 Intel Corporation

SPDX-License-Identifier: MIT

============================= end_copyright_notice ===========================*/

// The test checks if zeinfo "debug_env" and it fields are not set. Runtime does
// not require bti 0 and bindless offset is managed by driver.

// REQUIRES: regkeys, pvc-supported

// RUN: ocloc compile -file %s -options "-igc_opts 'DumpZEInfoToConsole=1'" \
// RUN:     -internal_options "-kernel-debug-enable" \
// RUN:     -device pvc | FileCheck %s

// CHECK:      kernels:
// CHECK-NEXT:   - name:            test
// CHECK:          execution_env:
// CHECK:          payload_arguments:
// CHECK:          per_thread_memory_buffers:
// CHECK-NOT:      debug_env:
// CHECK-NOT:        sip_surface_bti:
// CHECK-NOT:        sip_surface_offset:
// CHECK:      kernels_misc_info:

void kernel test(global int* in, global int* out) {
    volatile int tmp = in[0];
    out[0] = tmp;
}