Please help getting started with GPU programming

I would like to write a simple program testing/benching GPU’s RAM and verify that all the VRAM are good. How would I start on doing that? What tool do I need? Thank you!