Hey @comaniac Thanks that was helpful. So if i register a new target "newName" 
for example like

> TVM_REGISTER_TARGET_KIND("newName")

>     .add_attr_option<Array<String>>("keys")
>     .add_attr_option<Array<String>>("libs")
>     .add_attr_option<String>("device")
>     .add_attr_option<String>("model")
>     .add_attr_option<Bool>("system-lib")
>     .add_attr_option<Integer>("max_num_threads", Integer(256))
>     .add_attr_option<Integer>("thread_warp_size")
>     .set_default_keys({"opencl", "accelerator"})
>     .set_device_type(kDLOpenCL);

when I call tvm.context("newName") now will it directly use opencl backend or 
am I supposed to add more files for newName in the src/runtime folder ?





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/append-a-custom-target-for-tvm-context/7925/3)
 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/8740f7a67265d7aeba86de586107f79c58294c607f015f770fd2c8465cfe531a).

Reply via email to