I found this problem when I try to build beignet in static way. I changed 
CMakeList.txt and libcl.a, libgbeinterp.a and libgbe.a generated succcessfully, 
but these static libraries will not work if you try to link them to your 
program.


The reason I found is in src/cl_driver.cpp in which an unused static variable 
was declared, but it will be optimized, so intel driver function pointer will 
not be inittialized.


Also, the problem exists for compiler callback init.


I try to offer patches, but I found no place to call these callback functions. 



_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to