Skip to content

Instantly share code, notes, and snippets.

View bbrezillon's full-sized avatar

Boris Brezillon bbrezillon

  • Collabora
  • FRANCE
View GitHub Profile
shader: MESA_SHADER_KERNEL
local-size: 1, 1, 1 (variable)
shared-size: 0
inputs: 4
outputs: 0
uniforms: 0
shared: 0
scratch: 53
decl_var ubo INTERP_MODE_NONE uint[5] kernel_inputs (0, 0, 0)
decl_var ubo INTERP_MODE_NONE uint[11] kernel_work_properies (0, 0, 1)
shader: MESA_SHADER_KERNEL
local-size: 1, 1, 1 (variable)
shared-size: 0
inputs: 4
outputs: 0
uniforms: 0
shared: 0
scratch: 288
decl_var ubo INTERP_MODE_NONE uint[5] kernel_inputs (0, 0, 0)
decl_var ubo INTERP_MODE_NONE uint[11] kernel_work_properies (0, 0, 1)
PS C:\Users\Boris\OpenCL-CTS\build> cdb -o -g .\test_conformance\math_brute_force\Debug\test_bruteforce.exe id1 -1
Microsoft (R) Windows Debugger Version 10.0.19041.1 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: .\test_conformance\math_brute_force\Debug\test_bruteforce.exe id1 -1
************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
C:\Users\Boris\OpenCL-CTS\build\test_conformance\math_brute_force\Debug\test_bruteforce.exe
Test binary built Jul 3 2020 02:34:32
sizeof( void*) = 8
ARCH: Windows
*** PreventSleep() is not implemented on this platform.
max_ulps
-----------------------------------------------------------------------------------------------------------
Initializing random seed to 0.
Requesting Default device based on command line for platform index 0 and device index 0
Compute Device Name = Intel(R) UHD Graphics 620, Compute Device Vendor = Microsoft, Compute Device Version = OpenCL 1.2 D3D12 Implementation, CL C Version = O
shader: MESA_SHADER_KERNEL
local-size: 0, 0, 0 (variable)
shared-size: 0
inputs: 2
outputs: 0
uniforms: 0
shared: 0
decl_var ubo INTERP_MODE_NONE struct.s[2] main_test.base (~0, 0, 0) = { { { 0x12 }, { 0x123456789abcdef }, { 0x1234 } }, { { 0x11 }, { 0x123456789abcdee }, {
0x1233 } } }
decl_var shader_in INTERP_MODE_NONE uint64_t @0 (0.x, 0, 0)
; ModuleID = 'obj.cl'
source_filename = "obj.cl"
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024"
target triple = "spir64-unknown-unknown"
%struct.s = type <{ i8, i64, i16 }>
@__const.main_test.base = private unnamed_addr addrspace(2) constant [2 x %struct.s] [%struct.s <{ i8 18, i64 81985529216486895, i16 4660 }>, %struct.s <{ i8
17, i64 81985529216486894, i16 4659 }>], align 1
; SPIR-V
; Version: 1.0
; Generator: Khronos; 17
; Bound: 59
; Schema: 0
OpCapability Addresses
OpCapability Kernel
OpCapability Int64
OpCapability Int16
OpCapability Int8
struct foo {uchar uc; ulong ul; ushort us;};
sruct bar {uchar before; struct foo foo __attribute__((packed)); uchar after; struct foo foo2;};
test round 4000000000000000
shader: MESA_SHADER_KERNEL
local-size: 4, 1, 1 (variable)
shared-size: 0
inputs: 1
outputs: 0
uniforms: 0
shared: 0
decl_var ubo INTERP_MODE_NONE uint[2] kernel_inputs (0, 0, 0)
decl_var ubo INTERP_MODE_NONE uint[11] kernel_work_properies (0, 0, 1)
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <fenv.h>
#include <errno.h>
int main(void)
{
printf("test round %llx\n", (int64_t)(float)((int64_t)0x4000004000000001LL));