ContributionsMost RecentMost LikesSolutionswhy FPGA reserved some resources when using opencl Hi intel team, When compiling an empty code using opencl on intel FPGA, I noticed that some resources are reserved. Such as 40,650 ALUTs (9%), 52,976 FFs (6%), and 283 RAM blocks (11%) reserved and not available for use. I need to know why they are reserved ??? for what goal ?? Re: How to determine the <device_name> <aocx_file> for FPGA card Thank you intel team. I found the solution in this link here How to determine the <device_name> <aocx_file> for FPGA card Dear intel team, When typing <aocl diagnose> command. The following sub-message appeared. <BSP not loaded for Programmable Accelerator Card pac_f000000 * Run 'aocl diagnose' to determine device name for pac_f000000 * Run 'aocl program <device_name> <aocx_file>' to initialize BSP> I want to Know how I can exactly determine device name and aocx_file. in order to load BSP. Bellow is the whole message: Using the following location for ICD installation: /etc/OpenCL/vendors Found 2 icd entry at that location: /etc/OpenCL/vendors/Intel_FPGA_SSG_Emulator.icd /etc/OpenCL/vendors/Altera.icd the following OpenCL libraries are referenced in the icd files: libintelocl.so libalteracl.so checking LD_LIBRARY_PATH for registered libraries: WARNING: libintelocl.so NOT FOUND libalteracl.so was registered on the system at /glob/development-tools/versions/fpgasupportstack/d5005/2.0.1/inteldevstack/hld/host/linux64/lib Using the following location for fcd installations: /opt/Intel/OpenCL/Boards Found 1 fcd entry at that location: /opt/Intel/OpenCL/Boards/dcp_bsp.fcd the following OpenCL libraries are referenced in the fcd files: /opt/intel/2.0.1/inteldevstack/d5005_ias_2_0_1_b237/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so checking LD_LIBRARY_PATH for registered libraries: /opt/intel/2.0.1/inteldevstack/d5005_ias_2_0_1_b237/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so was registered on the system. Number of Platforms = 1 1. Intel(R) FPGA SDK for OpenCL(TM) | Intel(R) Corporation | OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 19.2 -------------------------------------------------------------------- ICD diagnostics PASSED -------------------------------------------------------------------- -------------------------------------------------------------------- BSP Diagnostics -------------------------------------------------------------------- -------------------------------------------------------------------- Device Name: acl0 BSP Install Location: /opt/intel/2.0.1/inteldevstack/d5005_ias_2_0_1_b237/opencl/opencl_bsp Vendor: Intel Corp Physical Dev Name Status Information pac_f000000 Uninitialized OpenCL BSP not loaded. Must load BSP using command: 'aocl program <device_name> <aocx_file>' before running OpenCL programs using this device DIAGNOSTIC_PASSED -------------------------------------------------------------------- Call "aocl diagnose <device-names>" to run diagnose for specified devices Call "aocl diagnose all" to run diagnose for all devices Re: How to resolve : Unable to get device ID Hi @BoonBengT_Altera Thanks for your reply. I am not sure what do you mean by " by any chances did you managed to source the relevant opencl resource with source command? After sourcing would suggest to run a aocl diagnose to confirm device name installed." ?? Could you clarify more please ?? However, I attached the Makefile that I used. Please reply as soon as possible. Thanks, Re: How to resolve : Unable to get device ID Hi @BoonBengT_Altera I attached a screenshot for the process. It is include the node, commands, and the error message. Please let me know if you need additional information since I really need to fix this issue as soon as possible. Thanks, Re: How to resolve : Unable to get device ID Dear intel team, Still didn't hear from you any update. Re: How to resolve : Unable to get device ID I am using fpga devcloud. I attached the host and kernel codes. Also the dataset and an image of part of the required outputs. Your swift response will be highly appreciated. How to resolve : Unable to get device ID Dear intel team, When trying to compile my host code today. I got this error message "Unable to get device_id ". This error message is part of my code. It is strange because yesterday, I didn't get this error message. See these lines of code plz: cl_platform_id fpga_paltform = NULL; if (clGetPlatformIDs(1, &fpga_paltform, NULL) != CL_SUCCESS) { printf("Unable to get platform_id\n"); return 1; } cl_device_id fpga_device = NULL; if (clGetDeviceIDs(fpga_paltform, CL_DEVICE_TYPE_ALL, 1, &fpga_device, NULL) != CL_SUCCESS) { printf("Unable to get device_id\n"); return 1; } Re: host: acl_mem.c:394: acl_bind_buffer_to_device: Assertion `mem' failed. Aborted Hi, I am using intel fpga devcloud. host: acl_mem.c:394: acl_bind_buffer_to_device: Assertion `mem' failed. Aborted Dear intel team, when compiling the host code using Make command. No errors appears. But when typing the ./host command. The following error showed up. I am not sure what this mean and how to fix it. Error: host: acl_mem.c:394: acl_bind_buffer_to_device: Assertion `mem' failed. Aborted