Construction of the Three Gorges new waterway project began this week in Hubei province—the first major national infrastructure project launched during China’s 15th Five-Year Plan period.
Designed to ease shipping pressure on the Yangtze River, China’s “golden waterway”, the new channel is expected to allow 10,000-tonne vessels to travel further inland upon completion.🚢
Grok Build is pretty good at optimizing my code in one shot.
Prompt:
I want you to optimize it entirely on GPU to speed it up. Measure two metrics: the result must compare with the golden image (CPU) and be nearly identical (PSNR > 40dB), with fast pixels per second.
Make a plan to a) write GPU equivalent code, b) write a benchmark suite to measure PSNR and pixels per second, c) execute various optimization strategies.
Go!