[Pkg-opencl-devel] [beignet] 15/66: Imported Debian patch 0.1+git20130422+003fac5-1
Andreas Beckmann
anbe at moszumanska.debian.org
Fri Oct 31 07:27:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository beignet.
commit 2613040d4ed4f21730704c7fadb2379407e876da
Merge: cf6b77b bbfdc9a
Author: Simon Richter <sjr at debian.org>
Date: Mon Apr 22 15:10:54 2013 +0200
Imported Debian patch 0.1+git20130422+003fac5-1
backend/src/backend/context.cpp | 211 +++++++++++++--------
backend/src/backend/context.hpp | 2 +
backend/src/backend/gen_context.cpp | 28 ++-
backend/src/backend/gen_context.hpp | 1 +
.../src/backend/gen_insn_gen7_schedule_info.hxx | 1 +
backend/src/backend/gen_insn_selection.cpp | 34 +++-
backend/src/backend/gen_insn_selection.hxx | 1 +
backend/src/backend/gen_program.cpp | 5 +-
backend/src/backend/gen_register.hpp | 10 +
backend/src/backend/program.cpp | 13 +-
backend/src/backend/program.h | 7 +-
backend/src/backend/program.hpp | 15 +-
debian/changelog | 6 +
debian/patches/const64 | 24 +++
debian/patches/respect-flags | 78 ++++++--
debian/patches/series | 1 +
include/CL/cl_intel.h | 54 ++++--
kernels/compiler_function_constant.cl | 6 +
kernels/compiler_function_constant0.cl | 6 +
src/cl_api.c | 73 +++++--
src/cl_command_queue.c | 22 ++-
src/cl_command_queue.h | 2 +
src/cl_command_queue_gen7.c | 7 +-
src/cl_kernel.c | 16 +-
src/cl_mem.c | 16 ++
src/cl_mem.h | 7 +
utests/CMakeLists.txt | 3 +
utests/compiler_copy_image.cpp | 3 +-
utests/compiler_fill_image.cpp | 2 +-
utests/compiler_fill_image0.cpp | 2 +-
utests/compiler_function_constant.cpp | 34 ++++
utests/compiler_function_constant0.cpp | 42 ++++
utests/compiler_function_constant1.cpp | 47 +++++
utests/compiler_movforphi_undef.cpp | 15 +-
utests/runtime_flat_address_space.cpp | 8 +-
utests/utest_helper.cpp | 14 +-
utests/utest_helper.hpp | 4 +-
37 files changed, 657 insertions(+), 163 deletions(-)
diff --cc debian/changelog
index 982239f,0000000..9d14052
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,55 -1,0 +1,61 @@@
++beignet (0.1+git20130422+003fac5-1) experimental; urgency=low
++
++ * New upstream release
++
++ -- Simon Richter <sjr at debian.org> Mon, 22 Apr 2013 15:10:54 +0200
++
+beignet (0.1+git20130419+9c11c18-1) experimental; urgency=low
+
+ * Add more functionality patches
+ * New upstream release
+
+ -- Simon Richter <sjr at debian.org> Fri, 19 Apr 2013 14:14:39 +0200
+
+beignet (0.1+git20130418+0546d2e-2) experimental; urgency=low
+
+ * Add functionality patches
+ * Use clang 3.0 command line syntax
+
+ -- Simon Richter <sjr at debian.org> Fri, 19 Apr 2013 09:53:23 +0200
+
+beignet (0.1+git20130418+0546d2e-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Simon Richter <sjr at debian.org> Thu, 18 Apr 2013 11:51:37 +0200
+
+beignet (0.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Simon Richter <sjr at debian.org> Tue, 16 Apr 2013 17:16:18 +0200
+
+beignet (0.0.0+git2013.04.11+e6b503e-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Simon Richter <sjr at debian.org> Mon, 15 Apr 2013 18:22:45 +0200
+
+beignet (0.0.0+git2013.04.01+d1b234c-4) unstable; urgency=low
+
+ * Build fix for kfreebsd-*
+
+ -- Simon Richter <sjr at debian.org> Fri, 12 Apr 2013 11:22:36 +0200
+
+beignet (0.0.0+git2013.04.01+d1b234c-3) unstable; urgency=low
+
+ * Adjust Build-Depends, Architecture list
+
+ -- Simon Richter <sjr at debian.org> Fri, 12 Apr 2013 10:32:36 +0200
+
+beignet (0.0.0+git2013.04.01+d1b234c-2) unstable; urgency=low
+
+ * Add patch to support size queries in device info
+
+ -- Simon Richter <sjr at debian.org> Thu, 11 Apr 2013 14:00:59 +0200
+
+beignet (0.0.0+git2013.04.01+d1b234c-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Simon Richter <sjr at debian.org> Tue, 09 Apr 2013 17:14:00 +0200
diff --cc debian/patches/const64
index 0000000,0000000..5ce8d29
new file mode 100644
--- /dev/null
+++ b/debian/patches/const64
@@@ -1,0 -1,0 +1,24 @@@
++Index: beignet-0.1+git20130419+9c11c18/backend/src/ir/instruction.cpp
++===================================================================
++--- beignet-0.1+git20130419+9c11c18.orig/backend/src/ir/instruction.cpp 2013-04-19 10:28:49.000000000 +0200
+++++ beignet-0.1+git20130419+9c11c18/backend/src/ir/instruction.cpp 2013-04-19 19:17:43.329603279 +0200
++@@ -591,17 +591,17 @@
++ static const Type madType[] = {TYPE_FLOAT};
++ static const uint32_t madTypeNum = ARRAY_ELEM_NUM(madType);
++
++- // TODO add support for 64 bits values
++ static const Type allButBool[] = {TYPE_S8, TYPE_U8,
++ TYPE_S16, TYPE_U16,
++ TYPE_S32, TYPE_U32,
+++ TYPE_S64, TYPE_U64,
++ TYPE_FLOAT, TYPE_DOUBLE};
++ static const uint32_t allButBoolNum = ARRAY_ELEM_NUM(allButBool);
++
++- // TODO add support for 64 bits values
++ static const Type logicalType[] = {TYPE_S8, TYPE_U8,
++ TYPE_S16, TYPE_U16,
++ TYPE_S32, TYPE_U32,
+++ TYPE_S64, TYPE_U64,
++ TYPE_BOOL};
++ static const uint32_t logicalTypeNum = ARRAY_ELEM_NUM(logicalType);
++
diff --cc debian/patches/respect-flags
index cc57dcb,0000000..c7c84ff
mode 100644,000000..100644
--- a/debian/patches/respect-flags
+++ b/debian/patches/respect-flags
@@@ -1,51 -1,0 +1,105 @@@
+Description: Respect CFLAGS/CXXFLAGS from Debian
+Author: Simon Richter <sjr at debian.org>
+Last-Update: 2013-04-16
+
- Index: beignet-0.1+git20130418+0546d2e/CMakeLists.txt
++Index: beignet-0.1+git20130419+9c11c18/CMakeLists.txt
+===================================================================
- --- beignet-0.1+git20130418+0546d2e.orig/CMakeLists.txt 2013-04-18 05:21:35.000000000 +0200
- +++ beignet-0.1+git20130418+0546d2e/CMakeLists.txt 2013-04-18 11:54:52.065437266 +0200
++--- beignet-0.1+git20130419+9c11c18.orig/CMakeLists.txt 2013-04-19 10:28:49.000000000 +0200
+++++ beignet-0.1+git20130419+9c11c18/CMakeLists.txt 2013-04-19 19:05:35.000000000 +0200
+@@ -18,7 +18,6 @@
+
+ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
+
+-SET(CMAKE_VERBOSE_MAKEFILE "false")
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMake/")
+ SET(EMULATE_IVB false CACHE BOOL "To emulate IVB")
+ SET(EMULATE_SNB false CACHE BOOL "To emulate SNB")
+@@ -55,8 +54,8 @@
+ ADD_DEFINITIONS(-DUSE_FULSIM=0)
+ ENDIF (USE_FULSIM)
+
+-SET(CMAKE_CXX_FLAGS "-Wall -Wno-invalid-offsetof -mfpmath=sse -fno-rtti -Wcast-align -std=c++0x -msse2 -msse3 -mssse3 -msse4.1 ")
+-SET(CMAKE_C_FLAGS "-Wall -mfpmath=sse -msse2 -Wcast-align -msse2 -msse3 -mssse3 -msse4.1")
++SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-invalid-offsetof -mfpmath=sse -fno-rtti -Wcast-align -std=c++0x -msse2 -msse3 -mssse3 -msse4.1 ")
++SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -mfpmath=sse -msse2 -Wcast-align -msse2 -msse3 -mssse3 -msse4.1")
+
+ # Front end stuff we need
+ #INCLUDE(CMake/FindLLVM.cmake)
- Index: beignet-0.1+git20130418+0546d2e/backend/CMakeLists.txt
++Index: beignet-0.1+git20130419+9c11c18/backend/CMakeLists.txt
+===================================================================
- --- beignet-0.1+git20130418+0546d2e.orig/backend/CMakeLists.txt 2013-04-18 05:21:35.000000000 +0200
- +++ beignet-0.1+git20130418+0546d2e/backend/CMakeLists.txt 2013-04-18 11:54:19.629435384 +0200
- @@ -45,16 +45,16 @@
++--- beignet-0.1+git20130419+9c11c18.orig/backend/CMakeLists.txt 2013-04-19 10:28:49.000000000 +0200
+++++ beignet-0.1+git20130419+9c11c18/backend/CMakeLists.txt 2013-04-19 19:09:27.509625385 +0200
++@@ -45,39 +45,39 @@
+ if (COMPILER STREQUAL "GCC")
+ set (CMAKE_C_CXX_FLAGS "${CMAKE_C_CXX_FLAGS} -funroll-loops -Wstrict-aliasing=2 -fstrict-aliasing -msse2 -msse3 -mssse3 -msse4.1 -fPIC -Wall")
+ set (CMAKE_C_CXX_FLAGS "${CMAKE_C_CXX_FLAGS} ${LLVM_CFLAGS}")
+- set (CMAKE_CXX_FLAGS "${CMAKE_C_CXX_FLAGS} -Wno-invalid-offsetof -fno-rtti -std=c++0x")
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_C_CXX_FLAGS} -Wno-invalid-offsetof -fno-rtti -std=c++0x")
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GBE_DEBUG_MEMORY_FLAG}")
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GBE_COMPILE_UTESTS_FLAG}")
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,-E")
+- set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${LLVM_LFLAGS}")
- + set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined ${LLVM_LFLAGS}")
- set (CMAKE_CXX_FLAGS_DEBUG "-g -DGBE_DEBUG=1")
- set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DGBE_DEBUG=1")
- set (CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG -DGBE_DEBUG=0")
- set (CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DGBE_DEBUG=0")
++- set (CMAKE_CXX_FLAGS_DEBUG "-g -DGBE_DEBUG=1")
++- set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DGBE_DEBUG=1")
++- set (CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG -DGBE_DEBUG=0")
++- set (CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DGBE_DEBUG=0")
+- set (CMAKE_C_FLAGS "${CMAKE_C_CXX_FLAGS}")
+++ set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined ${LLVM_LFLAGS}")
+++ set (CMAKE_CXX_FLAGS_DEBUG "-DGBE_DEBUG=1")
+++ set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DGBE_DEBUG=1")
+++ set (CMAKE_CXX_FLAGS_MINSIZEREL "-DNDEBUG -DGBE_DEBUG=0")
+++ set (CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -DGBE_DEBUG=0")
++ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_CXX_FLAGS}")
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GBE_DEBUG_MEMORY_FLAG}")
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GBE_COMPILE_UTESTS_FLAG}")
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-E")
++- set (CMAKE_C_FLAGS_DEBUG "-g -DGBE_DEBUG=1")
++- set (CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g -DGBE_DEBUG=1")
++- set (CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG -DGBE_DEBUG=0")
++- set (CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG -DGBE_DEBUG=0")
+++ set (CMAKE_C_FLAGS_DEBUG "-DGBE_DEBUG=1")
+++ set (CMAKE_C_FLAGS_RELWITHDEBINFO "-DGBE_DEBUG=1")
+++ set (CMAKE_C_FLAGS_MINSIZEREL "-DNDEBUG -DGBE_DEBUG=0")
+++ set (CMAKE_C_FLAGS_RELEASE "-DNDEBUG -DGBE_DEBUG=0")
++ elseif (COMPILER STREQUAL "CLANG")
++ set (CMAKE_C_COMPILER "clang")
++ set (CMAKE_C_FLAGS "-Wall -std=c99")
++- set (CMAKE_C_FLAGS_DEBUG "-g -DGBE_DEBUG=1")
++- set (CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g -DGBE_DEBUG=1")
++- set (CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG -DGBE_DEBUG=0")
++- set (CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG -DGBE_DEBUG=0")
+++ set (CMAKE_C_FLAGS_DEBUG "-DGBE_DEBUG=1")
+++ set (CMAKE_C_FLAGS_RELWITHDEBINFO "-DGBE_DEBUG=1")
+++ set (CMAKE_C_FLAGS_MINSIZEREL "-DNDEBUG -DGBE_DEBUG=0")
+++ set (CMAKE_C_FLAGS_RELEASE "-DNDEBUG -DGBE_DEBUG=0")
++ set (CMAKE_CXX_COMPILER "clang++")
++ set (CMAKE_CXX_FLAGS "-fstrict-aliasing -msse2 -fPIC -Wall -Wno-format-security -Wno-invalid-offsetof -std=c++0x")
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GBE_DEBUG_MEMORY_FLAG}")
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GBE_COMPILE_UTESTS_FLAG}")
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VISIBILITY_FLAG}")
++- set (CMAKE_CXX_FLAGS_DEBUG "-g -DGBE_DEBUG=1")
++- set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DGBE_DEBUG=1")
++- set (CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG -DGBE_DEBUG=0")
++- set (CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DGBE_DEBUG=0")
+++ set (CMAKE_CXX_FLAGS_DEBUG "-DGBE_DEBUG=1")
+++ set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DGBE_DEBUG=1")
+++ set (CMAKE_CXX_FLAGS_MINSIZEREL "-DNDEBUG -DGBE_DEBUG=0")
+++ set (CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -DGBE_DEBUG=0")
++ set (CMAKE_AR "/usr/bin/llvm-ar")
++ set (CMAKE_LINKER "/usr/bin/llvm-ld")
++ set (CMAKE_NM "/usr/bin/llvm-nm")
++@@ -91,10 +91,10 @@
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GBE_COMPILE_UTESTS_FLAG}")
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VISIBILITY_FLAG} -Wl,-E")
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GBE_DEBUG_MODE_FLAG}")
++- set (CMAKE_CXX_FLAGS_DEBUG "-g -O0 -DGBE_DEBUG=1")
++- set (CCMAKE_CXX_FLAGS_RELWITHDEBINFO "-g -O2 -DGBE_DEBUG=1")
++- set (CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O2 -DGBE_DEBUG=0")
++- set (CCMAKE_CXX_FLAGS_MINSIZEREL "-Os -DGBE_DEBUG=0")
+++ set (CMAKE_CXX_FLAGS_DEBUG "-DGBE_DEBUG=1")
+++ set (CCMAKE_CXX_FLAGS_RELWITHDEBINFO "-DGBE_DEBUG=1")
+++ set (CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -DGBE_DEBUG=0")
+++ set (CCMAKE_CXX_FLAGS_MINSIZEREL "-DGBE_DEBUG=0")
++ set (CMAKE_EXE_LINKER_FLAGS "")
++ endif ()
++
diff --cc debian/patches/series
index 742c689,0000000..ddef2bc
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,9 -1,0 +1,10 @@@
+khronos
+verbose
+implement-gefa
+missing-header
+soname
+respect-flags
+clang-3.0
+gdi
+driver_version
++const64
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git
More information about the Pkg-opencl-devel
mailing list