<div dir="ltr"><div>Hey guys!</div><div><br></div><div>2 questions.</div><div><br></div><div>1) Does Beignet support my Crystal Well 5200 GPU?</div><div><br></div><div>and 2) I was wondering if anybody on this list could help me with a compiling problem with Beignet:</div>

<div><br></div>I had a few problems. One with noduplicate which was an easy code modification (remove the noduplicate). And this one:<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px"><div>[  1%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/program.cpp.o</div>

<div>/home/jon/beignet/backend/src/backend/program.cpp: In function ‘bool gbe::buildModuleFromSource(const char*, const char*, std::string, size_t, char*, size_t*)’:</div><div>/home/jon/beignet/backend/src/backend/program.cpp:656:28: error: ‘llvm::sys::fs’ has not been declared</div>

<div>     auto mode = llvm::sys::fs::F_Binary;</div><div>                            ^</div><div>In file included from /usr/lib/llvm-3.4/include/clang/Basic/VersionTuple.h:19:0,</div><div>                 from /usr/lib/llvm-3.4/include/clang/Basic/ObjCRuntime.h:18,</div>

<div>                 from /usr/lib/llvm-3.4/include/clang/Basic/LangOptions.h:20,</div><div>                 from /usr/lib/llvm-3.4/include/clang/Frontend/FrontendAction.h:22,</div><div>                 from /usr/lib/llvm-3.4/include/clang/CodeGen/CodeGenAction.h:13,</div>

<div>                 from /home/jon/beignet/backend/src/backend/program.cpp:56:</div><div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h: In instantiation of ‘T* llvm::Optional<T>::getPointer() [with T = unsigned int]’:</div>

<div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h:123:76:   required from ‘T& llvm::Optional<T>::operator*() [with T = unsigned int]’</div><div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h:51:40:   required from ‘llvm::Optional<T>::Optional(llvm::Optional<T>&&) [with T = unsigned int]’</div>

<div>/usr/lib/llvm-3.4/include/clang/Basic/VersionTuple.h:60:14:   required from here</div><div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h:114:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div>

<div>   T* getPointer() { assert(hasVal); return reinterpret_cast<T*>(storage.buffer); }</div><div>                                                                               ^</div><div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h: In instantiation of ‘T* llvm::Optional<T>::getPointer() [with T = bool]’:</div>

<div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h:123:76:   required from ‘T& llvm::Optional<T>::operator*() [with T = bool]’</div><div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h:104:8:   required from ‘void llvm::Optional<T>::reset() [with T = bool]’</div>

<div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h:110:11:   required from ‘llvm::Optional<T>::~Optional() [with T = bool]’</div><div>/usr/lib/llvm-3.4/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:420:27:   required from here</div>

<div>/usr/lib/llvm-3.4/include/llvm/ADT/Optional.h:114:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>make[2]: *** [backend/src/CMakeFiles/gbe.dir/backend/program.cpp.o] Error 1</div>

<div>make[1]: *** [backend/src/CMakeFiles/gbe.dir/all] Error 2</div><div>make: *** [all] Error 2</div><div><br></div><div><br></div><div>Thanks!</div><div>Jon</div></div></div></div>