for example, if we use `ctx=cuda`,

both input datas are run correctly.

I saw that default tvm.nd.array context is cpu(0),
>input =  tvm.nd.array(shape)


but, I designate context "cuda"
> input = tvm.nd.array(shape, ctx)

both inputs are run correctly, but it have small performance diffs.

**Can we get better perfs with designated context like second one?**

I want to know about principle of tvm data context





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/do-we-have-to-identify-tvm-nd-array-context/8218/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/cab56d5977fdc19599b9c383c35ea5c6ba3ceb4514bcf9981db9e56a779fc4d9).

Reply via email to