kpet / clvk

Implementation of OpenCL 3.0 on Vulkan
Apache License 2.0
360 stars 42 forks source link

Fix issues with printf tests. #714

Closed Rekt3421 closed 3 weeks ago

Rekt3421 commented 3 months ago

Right now the majority of conformance tests for printf related to strings are failing, there are about 11 tests and 10 fail. It mostly has to do with how we process the strings in printf.cpp and also how kernel descriptors are setup here is an example of issues related to printf.cpp

1)testing printf("%s","")
terminate called after throwing an instance of 'std::out_of_range'

and here is an example of issues to due to kernel descriptors not setup properly

12)testing printf("%s","foo\0foo")
No data read from analysis buffer
verifyOutputBuffer failed with kernel: 
__kernel void test9(void)
{
   printf("%s\n","foo\0foo");
}

 expected: foo
 got:     
rjodinchr commented 3 weeks ago

This issue can be closed