Update beignet to 1.1.1.

* Dump asm to a file.
* Use addRemappedFile to avoid creating temporary cl source file.
* add collectInsnNum to collect block instruction number.
* Fix piglit clLinkProgram fail.
* Calculate appropriate timestamps for cl profile.

While here assign maintainership to x11@.

PR:		203669
Submitted by:	dieterich.joh@gmail.com
This commit is contained in:
Koop Mast 2015-10-20 14:47:46 +00:00
parent 5ac022b955
commit 7e01df9700
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399857
3 changed files with 18 additions and 7 deletions

View File

@ -2,12 +2,12 @@
# $FreeBSD$
PORTNAME= beignet
PORTVERSION= 1.1.0
PORTVERSION= 1.1.1
CATEGORIES= lang
MASTER_SITES= https://01.org/sites/default/files/
DISTVERSIONSUFFIX= -source
MAINTAINER= kwm@FreeBSD.org
MAINTAINER= x11@FreeBSD.org
COMMENT= OpenCL library for Intel GPUs
BUILD_DEPENDS= clang${LLVMVER}:${PORTSDIR}/lang/clang${LLVMVER} \

View File

@ -1,2 +1,2 @@
SHA256 (beignet-1.1.0-source.tar.gz) = 4afe09ea13cd7f8475b9f6534e97cb4dcd307c602095c6968b0ed22290753386
SIZE (beignet-1.1.0-source.tar.gz) = 938923
SHA256 (beignet-1.1.1-source.tar.gz) = 9bf4c69eb4fbd3c7cc9ef75c1952bca6f05259ffbe753a27e08ed98bb32e1119
SIZE (beignet-1.1.1-source.tar.gz) = 943579

View File

@ -1,11 +1,22 @@
--- src/cl_event.c.orig 2015-02-03 15:00:21.865295000 +0100
+++ src/cl_event.c 2015-02-03 15:00:30.759495000 +0100
@@ -28,7 +28,7 @@
--- src/cl_event.c.orig 2015-09-24 02:49:06 UTC
+++ src/cl_event.c
@@ -27,8 +27,9 @@
#include <assert.h>
#include <stdio.h>
+#include <time.h>
-inline cl_bool
+static inline cl_bool
cl_event_is_gpu_command_type(cl_command_type type)
{
switch(type) {
@@ -617,7 +618,7 @@ cl_ulong cl_event_get_cpu_timestamp(cl_u
{
struct timespec ts;
- if(clock_gettime(CLOCK_MONOTONIC_RAW,&ts) != 0){
+ if(clock_gettime(CLOCK_MONOTONIC,&ts) != 0){
printf("CPU Timmer error\n");
return CL_FALSE;
}