summaryrefslogtreecommitdiff
path: root/tests/cl/program/execute/scalar-load-ushort.program_test
blob: a929ed49ceb7b3885c3240f9b78efa890f5f9342 (plain)
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
[config]
name: Scalar Data Type Load (ushort)

program_source_file: scalar-load.inc
build_options: -D SCALAR_TYPE=ushort -D OUT_TYPE=uint

dimensions: 1
global_size: 1 0 0

[test]
name: global address space
kernel_name: load_global
arg_out: 0 buffer uint[1] 5
arg_in:  1 buffer ushort[1] 5

[test]
name: parameter address space
kernel_name: load_param
arg_out: 0 buffer uint[1] 6
arg_in:  1 ushort 6

[test]
name: constant address space
kernel_name: load_constant
arg_out: 0 buffer uint[1] 7
arg_in:  1 buffer ushort[1] 7