You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by tvmutil via TVM Discuss <no...@discuss.tvm.ai> on 2019/11/13 03:03:25 UTC

[TVM Discuss] [Questions] Need help reading Relay IR


I  get relay IR printed by call build_module.lower() :
// func_name is "fused_sqrt_2"
    produce T_sqrt {
  parallel (ax0, 0, 128) {
    T_sqrt[ax0] = sqrt(placeholder[ax0])
  }
}  

I want to know what really happens with "parallel (ax0, 0, 128)" , will there be 128 tasks to be tun at runtime?
If i set TVM_NUM_THREADS=8, how does TVM schedule these 128 tasks?





---
[Visit Topic](http://tracking.discuss.tvm.ai/tracking/click?d=QyEy8pU8esc2KdnA4bDd24Taw7ah8lGdYmuiYEHR3pwveOAul4HllrEVoPep-VsCi8zbkjz9wYScp9KcZsqj3weSgsHzPOtTLA0Wp3-RPKaLeHY6dpC5G8-4HaG4bM3Jkv_09EcHlGJqOcRU1M_iyheCo9SAC4vfdWlNiUaiL-UQ0) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](http://tracking.discuss.tvm.ai/tracking/click?d=7cFgOaAA4XIBVlVKt_oyC07uihTjg4Q6cjeBRNRTiPoV7ZhbamCFgDNSUFxUSy5ZH00Hi0UJMB1Xejx9CsXG4DP53SBXjVK0LiqFroW_Dkjos68je25cUkhO5tSglhrH-fBFW_ksXPmWd_GvvCyZ2WmO2HYQTJkf0NnbapyJmppBfW99xFZdurPiHi70_LL936sWUeJF4_AjN9XpNq3jJCO0fnRMIg5A8LVFZwnGfNRw0).

Tianqi Chen, UW, Seattle, WA, 98105, United States
http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=hAMFsPRK7comLvGM5oeD1g2