Skip to content

Conversation

umar456
Copy link
Member

@umar456 umar456 commented Dec 24, 2018

The bench_cg test was failing to execute on the CUDA backend because two non-linear JIT nodes were being combined and caused the resulting kernel parameter size to go above the threshold. The nodes did not cross the evaluation threshold before hand. This will need to be address upstream.

Upstream issue: arrayfire/arrayfire#2389

def test():
print("\nTesting benchmark functions...")
A, b, x0 = setup_input(50) # dense A
A, b, x0 = setup_input(50, 7) # dense A
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are going to add a new param explicitly, can you change this to be named parameters ? i.e. setup_input(n=50, sparsity=7)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@umar456 umar456 merged commit 9cea077 into arrayfire:master Dec 26, 2018
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