Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Find out design for Pirate mode #1

Open
ChrisRackauckas opened this issue Jul 5, 2019 · 1 comment
Open

Find out design for Pirate mode #1

ChrisRackauckas opened this issue Jul 5, 2019 · 1 comment

Comments

@ChrisRackauckas
Copy link
Member

It would be nice to have using AutoOffload.Pirate take over mul!, *, etc. to check sizes and then fallback to the original method if it doesn't satisfy the heuristics for accelerator speedups. However, making that not fall into an infinite loop seems a little tricky.

@jpsamaroo
Copy link

I would argue that using a context-based approach (a la Cassette) is an overall better and safer experience for the user and packages which want this functionality. It is easier to disable if you know offload will be problematic, and with the help of a REPL mode or hook into IJulia, should be easy enough to enable for an entire session.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants