Integrate OpenCL
cover Integrate OpenCL
* Integrate the OpenCL packages into the target filesystem and devkit
* Integrate the OpenCL Example matrix files
* Enable rebuilding the OpenCL example sources from the SDK
Jacob Stiffler (8):
packagegroup-arago-tisdk-addons: Clean up machine-specific packages packagegroup-arago-tisdk-addons: Add opencl dev pkgs and examples packagegroup-arago-tisdk-addons-sdk-target: Add opencl to devkit packagegroup-arago-tisdk-addons-sdk-host: Add opencl example sources packagegroup-arago-tisdk-matrix: Add opencl matrix demos nativesdk-packagegroup-arago-sdk-host: Add clocl
ti-tisdk-makefile: Include opencl-example fragment for dra7xx
arago-base-tisdk-image: Add BAD_RECOMMENDATIONS to remove unneeded dev
pkgs
.../recipes-core/images/arago-base-tisdk-image.bb | 7 ++++ .../packagegroup-arago-tisdk-addons-sdk-host.bb | 6 +++- .../packagegroup-arago-tisdk-addons-sdk-target.bb | 6 ++-- .../packagegroup-arago-tisdk-addons.bb | 38 ++++++++++++++-------- .../packagegroup-arago-tisdk-matrix.bb | 7 +++- .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb | 3 +- .../nativesdk-packagegroup-arago-sdk-host.bb | 4 +-- 7 files changed, 51 insertions(+), 20 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/8 packagegroup-arago-tisdk-addons: Clean up machine-specific packages
* Reorganize into easier-to-read lists
--- .../packagegroup-arago-tisdk-addons.bb | 36 ++++++++++++++-------- 1 file changed, 23 insertions(+), 13 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +23 -13
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install additional utilities/demos for SDKs" LICENSE = "MIT" -PR = "r30" +PR = "r31" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -25,24 +25,34 @@ UTILS = " \ UTILS_UBOOT_FW = "u-boot-fw-utils" UTILS_UBOOT_FW_keystone = "" -UTILS_append_ti33x = " mmc-utils" -UTILS_append_ti43x = " mmc-utils" -UTILS_append_omap-a15 = " mmc-utils" +UTILS_append_ti33x = " mmc-utils \ + canutils \ + switch-config \ +" + +UTILS_append_ti43x = " mmc-utils \ + canutils \ + switch-config \ + libdrm-omap \ +" + +UTILS_append_omap-a15 = " mmc-utils \ + parted \ + switch-config \ + libdrm-omap \ + stream-openmp \ +" # Add PRU examples for am180x-evm devices UTILS_append_am180x-evm = " ti-pru-sw-examples" UTILS_append_omap3 = " canutils" -UTILS_append_ti33x = " canutils" -UTILS_append_ti43x = " canutils" -UTILS_append_dra7xx = " canutils dsptop gdbc6x" -UTILS_append_omap-a15 = " parted" - -UTILS_append_ti33x = " switch-config" -UTILS_append_ti43x = " switch-config libdrm-omap" -UTILS_append_omap-a15 = " switch-config libdrm-omap stream-openmp" -UTILS_append_dra7xx = " glsdk-example-apps" +UTILS_append_dra7xx = " canutils \ + dsptop \ + gdbc6x \ + glsdk-example-apps \ +" EXTRA_LIBS = "" EXTRA_LIBS_append_omap-a15 = " cmem"
Signature · 1 line
1.9.1
PATCH 2/8 packagegroup-arago-tisdk-addons: Add opencl dev pkgs and examples
In reply to Jacob Stiffler--- .../recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +3 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install additional utilities/demos for SDKs" LICENSE = "MIT" -PR = "r31" +PR = "r32" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -52,6 +52,8 @@ UTILS_append_dra7xx = " canutils \ dsptop \ gdbc6x \ glsdk-example-apps \ + opencl-staticdev \ + opencl-examples-dev \ " EXTRA_LIBS = ""
Signature · 1 line
1.9.1
PATCH 3/8 packagegroup-arago-tisdk-addons-sdk-target: Add opencl to devkit
In reply to Jacob Stiffler--- .../packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +4 -2
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install headers and libraries related to addons into the SDK" LICENSE = "MIT" -PR = "r12" +PR = "r13" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -98,7 +98,9 @@ EXTRA_LIBS_append_k2hk-evm = "\ UTILS_append_omap3 = " canutils-dev" UTILS_append_ti33x = " canutils-dev" UTILS_append_ti43x = " canutils-dev" -UTILS_append_dra7xx = " canutils-dev" +UTILS_append_dra7xx = " canutils-dev \ + opencl-staticdev \ +" EXTRA_LIBS = "" EXTRA_LIBS_append_omap-a15 = " cmem-dev"
Signature · 1 line
1.9.1
PATCH 4/8 packagegroup-arago-tisdk-addons-sdk-host: Add opencl example sources
In reply to Jacob Stiffler--- .../packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +5 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install sources for additional utilities/demos for SDKs" LICENSE = "MIT" -PR = "r13" +PR = "r14" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -25,6 +25,10 @@ UTILS_append_ti33x = " \ omapconf-src \ " +UTILS_append_dra7xx = " \ + opencl-examples-src \ +" + EXTRA_LIBS = "" EXTRA_LIBS_append_omap-a15 = " cmem-mod-src" EXTRA_LIBS_append_dra7xx = " debugss-module-drv-src gdbserverproxy-module-drv-src"
Signature · 1 line
1.9.1
PATCH 5/8 packagegroup-arago-tisdk-matrix: Add opencl matrix demos
In reply to Jacob Stiffler--- .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +6 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to include Matrix v2" LICENSE = "MIT" -PR = "r45" +PR = "r46" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -113,6 +113,11 @@ MATRIX_APPS_append_omap-a15 = " \ matrix-gui-pm-demos-governor \ " +MATRIX_APPS_append_dra7xx = " \ + matrix-opencl-demo-floatcompute \ + matrix-opencl-demo-vecadd \ +" + MATRIX_APPS_append_beagleboard = " \ matrix-gui-display-control \ "
Signature · 1 line
1.9.1
PATCH 6/8 nativesdk-packagegroup-arago-sdk-host: Add clocl
In reply to Jacob Stiffler* clocl is the OpenCL kernel compiler which is required for OpenCL runtime and development.
--- .../packagegroups/nativesdk-packagegroup-arago-sdk-host.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-sdk-host.bb +2 -2
@@ -1,10 +1,10 @@ DESCRIPTION = "Host packages for a standalone Arago SDK or external toolchain" -PR = "r9" +PR = "r10" LICENSE = "MIT" inherit packagegroup nativesdk -EXTRA_TOOLS = "nativesdk-ti-cgt6x" +EXTRA_TOOLS = "nativesdk-ti-cgt6x nativesdk-clocl" RDEPENDS_${PN} = "\ nativesdk-pkgconfig \
Signature · 1 line
1.9.1
PATCH 7/8 ti-tisdk-makefile: Include opencl-example fragment for dra7xx
In reply to Jacob Stiffler--- .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +2 -1
@@ -40,7 +40,7 @@ SRC_URI = "\ file://Makefile_opencl-examples \ " -PR = "r53" +PR = "r54" MAKEFILES_COMMON = "linux \ matrix-gui \
@@ -87,6 +87,7 @@ MAKEFILES_append_ti43x = " u-boot-spl \ MAKEFILES_append_dra7xx = " cryptodev \ debugss-module-drv \ gdbserverproxy-module-drv \ + opencl-examples \ " MAKEFILES_append_omap-a15 = " u-boot-spl \
Signature · 1 line
1.9.1
PATCH 8/8 arago-base-tisdk-image: Add BAD_RECOMMENDATIONS to remove unneeded dev pkgs
In reply to Jacob Stiffler--- meta-arago-distro/recipes-core/images/arago-base-tisdk-image.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta-arago-distro/recipes-core/images/arago-base-tisdk-image.bb +7 -0
@@ -12,4 +12,11 @@ IMAGE_INSTALL += "\ packagegroup-arago-base-tisdk \ " +BAD_RECOMMENDATIONS += " \ + ti-llvm3.3-dev \ + opencl-monitor-dev \ + libulm-dev \ + gdbserver-c6x-dev \ +" + export IMAGE_BASENAME = "arago-base-tisdk-image"
Signature · 1 line
1.9.1
Ping.
Quoted 24 lines · Jacob Stiffler
* Integrate the OpenCL packages into the target filesystem and devkit
* Integrate the OpenCL Example matrix files
* Enable rebuilding the OpenCL example sources from the SDKJacob Stiffler (8):
packagegroup-arago-tisdk-addons: Clean up machine-specific packages packagegroup-arago-tisdk-addons: Add opencl dev pkgs and examples packagegroup-arago-tisdk-addons-sdk-target: Add opencl to devkit packagegroup-arago-tisdk-addons-sdk-host: Add opencl example sources packagegroup-arago-tisdk-matrix: Add opencl matrix demos nativesdk-packagegroup-arago-sdk-host: Add clocl
ti-tisdk-makefile: Include opencl-example fragment for dra7xx
arago-base-tisdk-image: AddBAD_RECOMMENDATIONSto remove unneeded dev
pkgs.../recipes-core/images/arago-base-tisdk-image.bb | 7 ++++ .../packagegroup-arago-tisdk-addons-sdk-host.bb | 6 +++- .../packagegroup-arago-tisdk-addons-sdk-target.bb | 6 ++-- .../packagegroup-arago-tisdk-addons.bb | 38 ++++++++++++++-------- .../packagegroup-arago-tisdk-matrix.bb | 7 +++- .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb | 3 +- .../nativesdk-packagegroup-arago-sdk-host.bb | 4 +-- 7 files changed, 51 insertions(+), 20 deletions(-)