Hi, Currently the OpenCL testcases declare their variables outside the __kernel functions without specifying an address space explicitly. The OpenCL specification requires that all program scope variables are declared in the __constant address space. These variables are therefore read-only. The attached patch moves the program scope variables of the OpenCL testcases into their kernel functions. Calls to the gdb_test_multiple procedure have also been changed to call gdb_test instead. Ok to apply? Regards Ken