[Bug 70199] clang+llvm from svn crashes when generating opencl code for 64 bit types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 8 on bug 70199 from
Created attachment 87554 [details]
piglit test showing importance of parameter order

The order of parameters for long seems to matter. Output for the attached
piglit test (failing tests on top):

> Running kernel test: Arg0 = a + b
Using kernel add0
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 3 (0x3) with tolerance 0, but got 12884901888 (0x300000000)
Error at long[0]
 Argument 0: FAIL
PIGLIT:subtest {'Arg0 = a + b' : 'fail'}
> Running kernel test: Arg1 = a + b
Using kernel add1
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 3 (0x3) with tolerance 0, but got 8589934593 (0x200000001)
Error at long[0]
 Argument 1: FAIL
PIGLIT:subtest {'Arg1 = a + b' : 'fail'}
> Running kernel test: set arg0 to arg1
Using kernel set0
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 4 (0x4) with tolerance 0, but got 17179869184 (0x400000000)
Error at long[0]
 Argument 0: FAIL
PIGLIT:subtest {'set arg0 to arg1' : 'fail'}

(Passing tests below:)

> Running kernel test: set arg1 to arg0
Using kernel set1
Setting kernel arguments...
Running the kernel...
Validating results...
 Argument 1: PASS
PIGLIT:subtest {'set arg1 to arg0' : 'pass'}
> Running kernel test: Arg2 = a + b
Using kernel add2
Setting kernel arguments...
Running the kernel...
Validating results...
 Argument 2: PASS
PIGLIT:subtest {'Arg2 = a + b' : 'pass'}
> Running kernel test: set arg0 to arg1 (indirected)
Using kernel setp0
Setting kernel arguments...
Running the kernel...
Validating results...
 Argument 0: PASS
PIGLIT:subtest {'set arg0 to arg1 (indirected)' : 'pass'}
> Running kernel test: set arg1 to arg0 (indirected)
Using kernel setp1
Setting kernel arguments...
Running the kernel...
Validating results...
 Argument 1: PASS
PIGLIT:subtest {'set arg1 to arg0 (indirected)' : 'pass'}
> Running kernel test: set arg0 to arg2 (with dummy pointer)
Using kernel set0_2
Setting kernel arguments...
Running the kernel...
Validating results...
 Argument 0: PASS
PIGLIT:subtest {'set arg0 to arg2 (with dummy pointer)' : 'pass'}
> Running kernel test: set arg2 to arg0 (with dummy pointer)
Using kernel set2_0
Setting kernel arguments...
Running the kernel...
Validating results...
 Argument 2: PASS
PIGLIT:subtest {'set arg2 to arg0 (with dummy pointer)' : 'pass'}


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux