Ticket #8 (assigned missing functionality)

Opened 4 years ago

Last modified 4 years ago

Sharing is lost

Reported by: chak Owned by: chak
Priority: major Milestone: 0.9 release
Component: Accelerate language Version: 0.8.1.0
Keywords: Cc:

Description

Currently the frontend fails to preserve sharing in Accelerate expressions, which leads to unnecessary recomputation of shared values.

Change History

  Changed 4 years ago by chak

  • type changed from defect to missing functionality

follow-up: ↓ 3   Changed 4 years ago by tmcdonell

Of possible interest for recovery (as opposed to preserving)

data-reify data-reify-cse

(The latter asks specifically for old package versions, but works fine with the latest releases)

in reply to: ↑ 2   Changed 4 years ago by chak

  • status changed from new to assigned

Replying to tmcdonell:

Of possible interest for recovery (as opposed to preserving) data-reify data-reify-cse (The latter asks specifically for old package versions, but works fine with the latest releases)

The problem with data-reify is that it is typeless. I will probably use the same technique as that package to discover sharing, but will need to re-implement the functionality in a manner that supports type-preserving compilation.

  Changed 4 years ago by chak

  • version changed from 0.7.1.0 to 0.8.0.0

  Changed 4 years ago by chak

  • version changed from 0.8.0.0 to 0.8.1.0

  Changed 4 years ago by chak

Sharing of array computations is now fully recovered by the Accelerate frontend. Sharing of scalar computations is en route.

  Changed 4 years ago by chak

  • milestone set to 0.9 release
Note: See TracTickets for help on using tickets.