Unable to get started with Metal on macOS 10.13 with Radeon Pro 560 4096 MB

If you read the pasted code you would see the TVM context with .gpu(0) is commented out and it is tvm.metal(0)