csullivan commented on code in PR #11161:
URL: https://github.com/apache/tvm/pull/11161#discussion_r870498790


##########
src/target/target_kind.cc:
##########
@@ -324,6 +324,7 @@ TVM_REGISTER_TARGET_KIND("opencl", kDLOpenCL)
     .add_attr_option<Bool>("system-lib")
     .add_attr_option<Integer>("max_num_threads", Integer(256))
     .add_attr_option<Integer>("thread_warp_size", Integer(1))
+    .add_attr_option<Integer>("texture_spatial_limit", Integer(16384))

Review Comment:
   Thanks for adding this. An improvement would be to query the remote device 
using a call to the device api GetAttr using the target attr preprocessor.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to