Minimalistic AMD API Example