llvm
llvm copied to clipboard
[FPGA][SYCL] Allow memory attributes on non-const device_global variables
Currently we allow FPGA memory attributes on const variables. This patch relaxes the restriction that permits the attributes when applied on non-const device_global variables and updates the error message to properly convey which types of variables are allowed to have attributes.