AMD and global exports
Merge pull request #33 from ovcharik/master

AMD and global exports