test the global and AMD versions