Added GPU pyramid generation

Throw an exception otherwise