Skip to content

[RELAY] Inline scalar compute#2335

Merged
ZihengJiang merged 1 commit intoapache:masterfrom
vinx13:fix/inline_scalar
Dec 26, 2018
Merged

[RELAY] Inline scalar compute#2335
ZihengJiang merged 1 commit intoapache:masterfrom
vinx13:fix/inline_scalar

Conversation

@vinx13
Copy link
Copy Markdown
Member

@vinx13 vinx13 commented Dec 26, 2018

see #2116 (comment)
We need to explicitly call compute_inline to scalars, otherwise a new one-element tensor is allocated and leads to segmentation fault on gpu.

cc @tqchen

@ZihengJiang ZihengJiang merged commit b076cad into apache:master Dec 26, 2018
FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Dec 27, 2018
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants