[Beignet] [BUG] Built-in function get_global_size error
Sun, Yi
yi.sun at intel.com
Sat Jun 8 02:42:31 PDT 2013
Now the results for calling the function get_global_size are following.
But the lines with sign (*) are wrong, which should be 0, according to
the Spec chapter 6.11.
The test case is ready as attachment.
get_global_size(-1) = 0 (dimension:1)
get_global_size(0) = 1 (dimension:1)
*get_global_size(1) = 1 (dimension:1)
*get_global_size(2) = 1 (dimension:1)
get_global_size(-1) = 0 (dimension:2)
get_global_size(0) = 1 (dimension:2)
get_global_size(1) = 1 (dimension:2)
*get_global_size(2) = 1 (dimension:2)
get_global_size(3) = 0 (dimension:2)
get_global_size(-1) = 0 (dimension:3)
get_global_size(0) = 1 (dimension:3)
get_global_size(1) = 1 (dimension:3)
get_global_size(2) = 1 (dimension:3)
get_global_size(3) = 0 (dimension:3)
get_global_size(4) = 0 (dimension:3)
Thanks
--Sun, Yi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Utest-Add-a-test-case-for-validating-built-in-functi.patch
Type: text/x-patch
Size: 4506 bytes
Desc: 0001-Utest-Add-a-test-case-for-validating-built-in-functi.patch
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20130608/1a0a49f7/attachment.bin>
More information about the Beignet
mailing list