When trying to compile both test_opencl, v4 and v5 I am unable to use enqueueBarrierWithWaitList(); Giving the error below.
error: 'class cl::CommandQueue' has no member named 'enqueueBarrierWithWaitList'; did you mean 'enqueueBarrier'?
Changing this to enqueueBarrier() enables the programs to compile and run correctly on my machine. However, when @jjd06 run the tests, which function call will be used within the AWS instance or is it okay to use enqueueBarrier() instead?