Altera RTE for OpenCL Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 53
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
The hello_world executable will be in the <path_to_exm_opencl_hello_world_arm32_linux_<version>>\hello_
world\bin directory.
Related Information
OpenCL Design Examples page on the Altera website
Running the Host Application
To execute the hello_world.aocx Altera Offline Compiler Executable file on the SoC, run the host
application you built from the ARM-specific Makefile.
1. Log into your SoC board.
2. Copy the hello_world.aocx hardware configuration file and the hello_world host executable from the
<exm_opencl_hello_world_arm32_linux_<version>>\hello_world\bin to the board.
3. Ensure that the LD_LIBRARY_PATH environment variable includes the $%ALTERAOCLSDKROOT%\host\
arm32\lib.
4. To execute the kernel on the SoC, at a command prompt, navigate to the host executable directory and
run the hello_world host executable.
Output from Successful Kernel Execution on the Cyclone V SoC Development Kit
When you run the host application to execute your OpenCL kernel on the Cyclone V SoC Development
Kit, the software notifies you of a successful kernel execution.
Example output:
Found 1 OpenCL platforms.
Querying platform for info:
==========================
CL_PLATFORM_NAME = Altera SDK for OpenCL
CL_PLATFORM_VENDOR = Altera Corporation
CL_PLATFORM_VERSION = OpenCL 1.0 Altera SDK for OpenCL, Version <version>
Querying device for info:
========================
CL_DEVICE_NAME = c5soc : Cyclone V SoC Development Kit
CL_DEVICE_VENDOR = Altera
CL_DEVICE_VENDOR_ID = 4466
CL_DEVICE_VERSION = OpenCL 1.0 Altera SDK for OpenCL, Version <version>
CL_DRIVER_VERSION = <version>
CL_DEVICE_ADDRESS_BITS = 64
CL_DEVICE_AVAILABLE = true
CL_DEVICE_ENDIAN_LITTLE = true
CL_DEVICE_GLOBAL_MEM_CACHE_SIZE = 32768
CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE = 0
CL_DEVICE_GLOBAL_MEM_SIZE = 2147483648
CL_DEVICE_IMAGE_SUPPORT = false
CL_DEVICE_LOCAL_MEM_SIZE = 16384
CL_DEVICE_MAX_CLOCK_FREQUENCY = 1000
CL_DEVICE_MAX_COMPUTE_UNITS = 1
CL_DEVICE_MAX_CONSTANT_ARGS = 8
CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE = 3758096384
CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS = 3
CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS = 1024
CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE = 128
CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR = 4
CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT = 2
CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT = 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG = 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT = 1
OCL005-15.0.0
2015.05.04
Running the Host Application
4-11
Getting Started with the Altera RTE for OpenCL for Altera ARMv7-A SoC
Altera Corporation
Send Feedback
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 52 53

Kommentare zu diesen Handbüchern

Keine Kommentare