Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR: 271159 Reported by: ohartmann@walstatt.org (maintainer)
- Loading branch information
Showing
9 changed files
with
78 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1634367852 | ||
SHA256 (pocl-pocl-v1.8_GH0.tar.gz) = 0f63377ae1826e16e90038fc8e7f65029be4ff6f9b059f6907174b5c0d1f8ab2 | ||
SIZE (pocl-pocl-v1.8_GH0.tar.gz) = 1614545 | ||
TIMESTAMP = 1670346593 | ||
SHA256 (pocl-pocl-v3.1_GH0.tar.gz) = 82314362552e050aff417318dd623b18cf0f1d0f84f92d10a7e3750dd12d3a9a | ||
SIZE (pocl-pocl-v3.1_GH0.tar.gz) = 1928607 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- CMakeLists.txt.orig 2020-12-16 13:02:13 UTC | ||
--- CMakeLists.txt.orig 2022-06-10 10:09:05 UTC | ||
+++ CMakeLists.txt | ||
@@ -398,6 +398,9 @@ endif() | ||
|
||
|
||
@@ -394,6 +394,9 @@ find_package(Hwloc) | ||
set(ENABLE_HWLOC ON CACHE BOOL "Hwloc" FORCE) | ||
endif() | ||
|
||
+include(CheckIncludeFiles) | ||
+check_include_files("sys/types.h;sys/sysctl.h" HAVE_SYSCTL_H) | ||
+ | ||
|
||
###################################################################################### | ||
include(sanitizers) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- lib/CL/pocl_timing.c.orig 2022-06-10 10:09:05 UTC | ||
+++ lib/CL/pocl_timing.c | ||
@@ -69,8 +69,8 @@ uint64_t pocl_gettimemono_ns() { | ||
struct timespec timespec; | ||
# ifdef CLOCK_MONOTONIC_RAW /* Linux */ | ||
clock_gettime(CLOCK_MONOTONIC_RAW, ×pec); | ||
-# elif defined(CLOCK_UPTIME_FAST) /* FreeBSD, DragonFlyBSD, etc */ | ||
- clock_gettime(CLOCK_UPTIME_FAST, ×pec); | ||
+# elif defined(CLOCK_MONOTONIC_FAST) /* FreeBSD, DragonFlyBSD, etc */ | ||
+ clock_gettime(CLOCK_MONOTONIC_FAST, ×pec); | ||
# elif defined(CLOCK_MONOTONIC) /* POSIX 2008, NetBSD, etc */ | ||
clock_gettime(CLOCK_MONOTONIC, ×pec); | ||
# else /* older POSIX didn't define CLOCK_MONOTONIC */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
Portable OpenCL aims to be an efficient open source (MIT-licensed) | ||
implementation of the OpenCL 1.2 standard. | ||
[ | ||
{ type: install | ||
message: <<EOM | ||
Portable OpenCL (pocl) | ||
---------------------- | ||
|
||
Portable OpenCL (>= 3.0) aims to be an efficient open source | ||
(MIT-licensed) implementation of the OpenCL 2.X standard with | ||
adaptions of OpenCL 3.0. | ||
|
||
In addition to producing an easily portable open source OpenCL | ||
implementation, another major goal of the project is improving | ||
performance portability of OpenCL programs with compiler | ||
optimizations, reducing the need for target-dependent manual | ||
optimizations. At the core of POCL is a set of LLVM passes used | ||
to statically parallelize multiple work-items with the kernel | ||
optimizations. At the core of pocl is a set of LLVM passes | ||
used to statically parallelize multiple work-items with the kernel | ||
compiler, even in the presence of work-group barriers. This enables | ||
parallelization of the fine-grained static concurrency in the work | ||
groups in multiple ways (SIMD, VLIW, superscalar, ...). | ||
groups in multiple ways (SIMD, VLIW, superscalar,...). | ||
|
||
The code base is modularized to allow easy adding of new "device drivers" | ||
in the host-device layer. A generic multithreaded "target driver" is | ||
included. It allows running OpenCL applications on a host that supports | ||
the pthread library with multithreading at the work group granularity. | ||
|
||
EOM | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ type: install | ||
message: <<EOM | ||
|
||
Deadlocks (freezes) on FreeBSD: | ||
|
||
OpenCL applications using pocl on FreeBSD must be compiled with | ||
options CFLAGS+=-pthread or CXXFLAGS+=-pthread, otherwise someone risk | ||
that a library may not initialize the threading on BSD independently, | ||
even if an ICD loader is used. | ||
|
||
See: | ||
http://www.freebsd.org/cgi/query-pr.cgi?pr=163512 | ||
|
||
(Source: http://portablecl.org/docs/html/faq.html?highlight=freebsd) | ||
EOM | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters