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.
WWW: https://01.org/compute-runtime
lang/compute-runtime: prefix package like other distributions
Compute runtime unlike Beignet maybe used by other CPU vendors for
a common runtime used by GPGPU.
lang/compute-runtime: untabify and silence -Wformat-security in the port's patch
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",
lang/compute-runtime: unbreak build with ninja
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
(Only the first 15 lines of the commit message are shown above )
devel/compute-runtime: add new port
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