1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

new port: devel/cltune. This adds cltune, a program to tune OpenCL (and CUDA) kernels automatically.

Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10918
This commit is contained in:
Johannes M Dieterich 2017-06-02 00:18:06 +00:00
parent 4649989b3d
commit 71f721906a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442361
4 changed files with 42 additions and 0 deletions

View File

@ -303,6 +303,7 @@
SUBDIR += cloudabi-binutils-aarch64
SUBDIR += cloudabi-binutils-x86_64
SUBDIR += cloudabi-toolchain
SUBDIR += cltune
SUBDIR += cmake
SUBDIR += cmake-doc
SUBDIR += cmake-fedora

33
devel/cltune/Makefile Normal file
View File

@ -0,0 +1,33 @@
# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
# $FreeBSD$
PORTNAME= cltune
PORTVERSION= 2.6.0
CATEGORIES= devel
MAINTAINER= jmd@FreeBSD.org
COMMENT= Library to tune OpenCL kernels
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= opencl>=0:devel/opencl
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
RUN_DEPENDS= opencl>=0:devel/opencl
USE_GITHUB= yes
GH_ACCOUNT= CNugteren
GH_PROJECT= CLTune
USE_LDCONFIG= yes
USES= cmake
PLIST_FILES= include/cltune.h \
lib/libcltune.so \
libdata/pkgconfig/cltune.pc
post-install:
@${MV} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/cltune.pc ${STAGEDIR}/${PREFIX}/libdata/pkgconfig/cltune.pc
@${RM} -r ${STAGEDIR}/${PREFIX}/lib/pkgconfig
.include <bsd.port.mk>

3
devel/cltune/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1495678565
SHA256 (CNugteren-CLTune-2.6.0_GH0.tar.gz) = 653f748b8e46b285e723012c08df85d283ded1c04a18fd349716184dbd287282
SIZE (CNugteren-CLTune-2.6.0_GH0.tar.gz) = 137373

5
devel/cltune/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
CLTune is a C++ library which can be used to automatically tune your OpenCL
and CUDA kernels. The only thing you'll need to provide is a tuneable kerne
and a list of allowed parameters and values.
WWW: https://github.com/CNugteren/CLTune