Forum Discussion
Memory attributes for device_global
Hi @v-m,
Thank you for the patients and apologies for the delayed in response.
If understood the situation correctly, you would like to implement the variable in the onchip memory as per the memory attributes.
For that the device_global variable is implmented in the onchip memory already during the hardware implementation.
You may find the details explanation in the section hardware implementation in the link below:
Please do let us know if situation are misunderstood.
Best Wishes
BB
Hello
Thank you for your response. Yes, I need to implement the variable in the onchip memory and it can be achieved with device_global. But I am not able to apply any memory attributes to this device_global variable, for example [[intel::fpga_register]], [[intel::singlepump]], etc.
Can you please clarify if applying such attributes is possible in this case?