updated for Windows and AMD APP SDK