stub out GPU layer methods to crash loudly in CPU-only mode
add guard to drop GPU code in CPU-only mode, remorsefully
add guard for GPU device-typed tests