Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, FPGA AI Suite, Software Stack, and Reference Designs
487 Discussions

Latest BPS for Stratix 10 on Quartus prime pro 18.1 .0.222 ???

zjinf
New Contributor I
1,371 Views
  1. my environment is:

board: Stratix 10 development board

aocl: aocl 18.1.0.222 (Intel(R) FPGA SDK for OpenCL(TM),

2.my question is :

In diagnose hint , it says my board is s10gx_ea

in my :intelFPGA_pro/18.1/hld/board/s10_ref/hardware directly , it only has s10gx , no s10gx_ea

 

Can any body give me an available s10gx_ea .bps(s10_ref package ) file match aocl 18.1.0.222 (Intel(R) FPGA SDK for OpenCL(TM)

 

 

Thanks very much!!!!!

 

 

 

 

0 Kudos
6 Replies
MuhammadAr_U_Intel
643 Views
Hi, Per my understanding BSP "s10gx_ea" is delivered with OpenCL version 18.0 you can download it from "http://fpgasoftware.intel.com/opencl/18.0/?edition=pro&download_manager=dlm3" As for compiler version 18.1 please use BSP from installation directory BSP named "s10gx" Hope this clarifies. Arslan
0 Kudos
zjinf
New Contributor I
643 Views

HI MUsman

Thanks for your reply!

if use s10gx bps, when i run the openCL example, it says that:" the aocx file is for s10gx while my board is s10gx_ea", it does not match each other ! how to fix it ????

 

0 Kudos
zjinf
New Contributor I
643 Views

Querying platform for info:

==========================

CL_PLATFORM_NAME                        = Intel(R) FPGA SDK for OpenCL(TM)

CL_PLATFORM_VENDOR                      = Intel(R) Corporation

CL_PLATFORM_VERSION                     = OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 18.1

 

Querying device for info:

========================

CL_DEVICE_NAME                          = s10gx_ea : Stratix 10 Reference Platform (acls10_ref0)

CL_DEVICE_VENDOR                        = Intel(R) Corporation

CL_DEVICE_VENDOR_ID                     = 4466

CL_DEVICE_VERSION                       = OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 18.1

CL_DRIVER_VERSION                       = 18.1

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      = 536870912

CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS      = 3

CL_DEVICE_MEM_BASE_ADDR_ALIGN           = 8192

CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE      = 1024

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

CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE = 0

Command queue out of order?             = false

Command queue profiling enabled?        = true

Using AOCX: hello_world.aocx

Context callback: Program was compiled for a different board.

      aocx is for board s10gx whereas device is s10gx_ea

Use aocl program to safely transition to the new board

.

Segmentation fault (core dumped)

0 Kudos
MuhammadAr_U_Intel
643 Views

I believe issue here is your board flash is programmed with older image (18.0) however latest .aocx is build with new compiler build (18.1)

Try updating the flash by aocl flash <acl0> <new.aocx>

 

Hope this helps.

Arslan

0 Kudos
zjinf
New Contributor I
643 Views
  1. with 18.1 (s10gx) aocl install by root . after aocl install command , when i run "aocl diagnose " command, it can't detect the board (but aoc command can generate s10gx *.aocx file ),DIAGNOSTIC_FAILED, can't detect device , I can do nothing.

and i turn back to (s10gx_ea), it can diagnose successful.

2 . after aocl flash acl0 <my_s10gx.aocx> successfully , i still can't run the host file .

all i did just flow the "S10_DevKit_Initialization_18.1.pdf" in intelFPGA_pro/18.1/hld/board/s10_ref/bringup directory

 

 

0 Kudos
MuhammadAr_U_Intel
643 Views
Hi, Problem here is mismatch in aocx file vs BSP. Stratix10 BSP provided with OpenCL SDK version 18.0 is for Engineering sample Device (s10gx_ea) to continue using it you have to generate .aocx files using the OpenCL SDK version 18.0 However Stratix10 BSP provided with OpenCL SDK version 18.1 is for Production device (s10gx), it might not work with you board which is Engineering sample device. Thanks, Arslan
0 Kudos
Reply