elvin-n commented on code in PR #11161:
URL: https://github.com/apache/tvm/pull/11161#discussion_r871372700
##########
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:
I still do not fully understand the usage model. I left for a while only
definition of `texture_spatial_limit` in opencl target and access in python
because adding of `kTextureSpatialLimit` in DeviceAttrKind caused a fail during
compilation of cuda and as I do not fully understand usage model, don't know
how to fix this properly. If I need to extend cuda as well for this constant or
just ignore and if ignore in which place `kTextureSpatialLimit` should be used
--
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]