add working (hacky) cuda8192, uses atomicMax. loops to catch races