[Bug 64600] r600g pyrit OpenCL issue on HD6850

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

 



Comment # 14 on bug 64600 from
Created attachment 87536 [details]
piglit test kernel with pyrit

The patches did avoid the crash, but the results are still invalid.

For convenience, I have added some test vectors and glue to the pyrit kernel. I
don't know if such a complex testcase is acceptable for piglit, hence I am
posting it here. Let me know if such a case is suitable for piglit and if it
should be posted to the piglit list too.

The test passes with the POCL implementation but not with the R600 one.

Without the patches the output is:
## Test: Pyrit WPA2-PSK accelerator
(/src/piglit/tests/cl/program/program-tester.c) ##

# Running on:
#   Platform: Default
#   Device: AMD BARTS
#   OpenCL version: 1.1
#   OpenCL C version: 1.1
#   Build options:  -cl-std=CL1.1
Program has been built successfully
> Running kernel test: 
Using kernel opencl_pmk_kernel
Setting kernel arguments...
Running the kernel...
cl-program-tester: /src/llvm/include/llvm/MC/MCRegisterInfo.h:65: unsigned int
llvm::MCRegisterClass::getRegister(unsigned int) const: Assertion `i <
getNumRegs() && "Register number out of range!"' failed.
Stack dump:
0.      Running pass 'Function Pass Manager' on module 'radeon'.
1.      Running pass 'R600 Handle indirect addressing' on function
'@opencl_pmk_kernel'
Aborted (core dumped)

With branch tsellar/r600-private-mem-fixes, up to commit cf5d9a2:
[..]
Running the kernel...
Validating results...
Expecting 3201012614 (0xbecb9386) with tolerance 0, but got 844928435
(0x325c95b3)
Error at uint[0]
 Argument 1: FAIL
PIGLIT:subtest {'' : 'fail'}
>> Some or all of the tests FAILED
# Result:
PIGLIT: {'result': 'fail' }


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