A minimal AMD API implementation for use after optimized builds