Skip to content

Conversation

wonghang
Copy link
Contributor

@wonghang wonghang commented Feb 8, 2020

An issue arises from the following discussion:

https://groups.google.com/d/msg/theano-users/lc6uMHU2rn4/Soxjr5c1FQAJ

It is related to issue #438 . The current implementation of tril, triu and do_call do not take into account when the case kernel_sched returns LS and GS such that LS*GS < N.

This PR is a quick fix by computing LS and GS itself and it guarantees LS*GS >= N.
I know that it may not be the most efficient value of LS, GS.
However, I am not sure the logic behind kernel_sched and I believe if I modify it, everything may be affected. Therefore I decided to let tril and triu compute their own value of LS and GS in tril to triu to fix it.

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.

1 participant