Bug 213338 - math/clfft: Update to 2.12.2
Summary: math/clfft: Update to 2.12.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Wen Heping
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-10-09 15:58 UTC by Johannes M Dieterich
Modified: 2016-10-10 16:01 UTC (History)
1 user (show)

See Also:


Attachments
svn diff for math/clfft (1.28 KB, patch)
2016-10-09 15:58 UTC, Johannes M Dieterich
jmd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes M Dieterich freebsd_committer 2016-10-09 15:58:58 UTC
Created attachment 175576 [details]
svn diff for math/clfft

Please find attached the trivial update to update math/clfft to 2.12.2. Release highlights:

* now works with pocl OpenCL runtime
* validation of sizes (powers of 2,3,5 and combinations thereof) to work up to huge data sets (up to 25GB)

Passes portlint. Tested on 10.1, 10.2, 10.3, and 12-CURRENT amd64 w/ poudriere.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-10-10 03:43:54 UTC
@Dieterich, please set maintainer-approval to + on attachments for ports you are maintainer of. Attachment -> Details -> maintainer-approval [+]

Thanks!
Comment 2 commit-hook freebsd_committer 2016-10-10 13:03:46 UTC
A commit references this bug:

Author: wen
Date: Mon Oct 10 13:03:24 UTC 2016
New revision: 423661
URL: https://svnweb.freebsd.org/changeset/ports/423661

Log:
  - Update to 2.12.2

  PR:		213338
  Submitted by:	dieterich@ogolem.org(maintainer)

Changes:
  head/math/clfft/Makefile
  head/math/clfft/distinfo
  head/math/clfft/files/patch-src_include_sharedLibrary.h
  head/math/clfft/files/patch-src_statTimer_statisticalTimer.h
  head/math/clfft/pkg-plist
Comment 3 Wen Heping freebsd_committer 2016-10-10 13:05:25 UTC
I found clfft build well on FreeBSD-9.3-amd64, but I am not sure it run well or not.

wen
Comment 4 Johannes M Dieterich freebsd_committer 2016-10-10 16:01:42 UTC
Dear Wen, thanks for committing and checking on 9.3. Indeed, it should compile there, however, with OpenCL it is a bit more complex than that. For initial  compilation, one only uses libOpenCL and we have the stub library in ports for this. For actual at-runtime compilation, one needs an OpenCL runtime loaded by the stub.

Currently, we have
* freeocl (broken, doesn't work with libOpenCL loading mechanism, doesn't compile w/ GCC 4.9)
* clover (for AMD GPUs, requiring a late KMS)
* beignet (for Intel GPUs, also requiring a late KMS)

So on 9.x, one cannot execute anything. Now, there is a patch here for pocl, a CPU runtime that actually works. The submitter has tried to get it into the tree for a long time, it'd be a nice addition as it would actually allow us to run OpenCL code on all releases but, alas, no commit.