Similar to the OpenCL nitpick, could we implement gpu_thread_barrier as a function in the PTX initmod?