summaryrefslogtreecommitdiff
path: root/lang/compute-runtime (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lang/compute-runtime: prefix package like other distributionsJan Beich2019-12-1311-293/+0
| | | | | | | | Compute runtime unlike Beignet maybe used by other CPU vendors for a common runtime used by GPGPU. Notes: svn path=/head/; revision=519964
* lang/compute-runtime: switch to upstream fix for Clang 9Jan Beich2019-12-133-76/+6
| | | | Notes: svn path=/head/; revision=519962
* lang/compute-runtime: update link in the port's patchJan Beich2019-12-081-1/+1
| | | | | | | The kernel issue has moved to drm-kmod upstream. Notes: svn path=/head/; revision=519572
* lang/compute-runtime: untabify and silence -Wformat-security in the port's patchJan Beich2019-12-081-3/+3
| | | | | | | | | | | | | | | | | | | | In file included from runtime/os_interface/linux/drm_memory_manager.cpp:8: In file included from runtime/os_interface/linux/drm_memory_manager.h:9: In file included from runtime/memory_manager/memory_manager.h:11: In file included from core/helpers/aligned_memory.h:11: runtime/os_interface/debug_settings_manager.h:35:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(std::forward<Args>(args)...); ^~~~~~~~~~~~~~~~~~~~~~~~ runtime/os_interface/linux/drm_memory_manager.cpp:148:21: note: in instantiation of function template specialization 'NEO::printDebugString<__sFILE *&, char const (&)[80]>' requested here printDebugString(true, stderr, "ioctl(I915_GEM_USERPTR) failed. Try running as root but expect poor stability.\n"); ^ runtime/os_interface/debug_settings_manager.h:35:17: note: treat the string as an argument to avoid this fprintf(std::forward<Args>(args)...); ^ "%s", Notes: svn path=/head/; revision=519570
* lang/compute-runtime: unbreak build with ninjaJan Beich2019-12-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BSD ar(1) from base doesn't understand @file which CMake projects can use to work around maximum number of arguments on command line. $ echo /dev/null >foo.rsp $ /usr/bin/ar qc libfoo.a @foo.rsp ar: warning: can't open file: @foo.rsp: No such file or directory leading to FAILED: bin/ocloc : && /usr/bin/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -mretpoline -ftemplate-depth=1024 -Wall -Wempty-body -Wignored-qualifiers -Wtype-limits -Wuninitialized -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Winvalid-pch -Wshorten-64-to-32 -Wno-unused-local-typedefs -DSANITIZER_BUILD -Wno-deprecated-register -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong @CMakeFiles/ocloc.rsp -o bin/ocloc && : ld: error: undefined symbol: CLElfLib::CElfReader::CElfReader(std::__1::vector<char, std::__1::allocator<char> >&) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) ld: error: undefined symbol: CLElfLib::CElfReader::getSectionData(unsigned long) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) ld: error: undefined symbol: CLElfLib::CElfWriter::resolveBinary(std::__1::vector<char, std::__1::allocator<char> >&) >>> referenced by binary_encoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_encoder.cpp.o:(BinaryEncoder::createElf()) >>> referenced by offline_compiler.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/offline_compiler.cpp.o:(NEO::OfflineCompiler::generateElfBinary()) c++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Notes: svn path=/head/; revision=519569
* lang/compute-runtime: drop TEST option to reduce maintenanceJan Beich2019-12-075-364/+1
| | | | | | | Done in a separate commit to allow restarting the effort in future. Notes: svn path=/head/; revision=519223
* devel/compute-runtime: add new portJan Beich2019-12-0713-0/+725
Tested by: clpeak, waifu2x-converter-cpp via drm-v4.9 on Skylake The Intel(R) Graphics Compute Runtime for OpenCL(TM) is an open source project to converge Intel's development efforts on OpenCL(TM) compute stacks supporting the GEN graphics hardware architecture. https://01.org/compute-runtime Notes: svn path=/head/; revision=519222