diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-12-07 17:31:44 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-12-07 17:31:44 +0000 |
commit | e1a4a7c0e17237094522b9a0ef9e5a77d7c158aa (patch) | |
tree | 56541d432cd5abb5da9316ac4acef495ab059fd6 /lang/compute-runtime/files/patch-i386 | |
parent | - Update to 1.4.1 (diff) |
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
Notes
Notes:
svn path=/head/; revision=519222
Diffstat (limited to 'lang/compute-runtime/files/patch-i386')
-rw-r--r-- | lang/compute-runtime/files/patch-i386 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/compute-runtime/files/patch-i386 b/lang/compute-runtime/files/patch-i386 new file mode 100644 index 000000000000..05f80f8ab1c2 --- /dev/null +++ b/lang/compute-runtime/files/patch-i386 @@ -0,0 +1,18 @@ +SSE2 is not enabled by default on BSDs + +core/utilities/clflush.cpp:16:5: error: '_mm_clflush' needs target feature sse2 + _mm_clflush(ptr); + ^ + +--- core/utilities/clflush.cpp.orig 2019-11-29 14:23:34 UTC ++++ core/utilities/clflush.cpp +@@ -12,6 +12,9 @@ + namespace NEO { + namespace CpuIntrinsics { + ++#ifdef __GNUC__ ++__attribute__((target("sse2"))) ++#endif + void clFlush(void const *ptr) { + _mm_clflush(ptr); + } |