Ticket #11 (closed defect: fixed)
Hash tag for CUDA version of backpermute does not include projection function
| Reported by: | rmukhtar | Owned by: | tmcdonell |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | CUDA backend | Version: | 0.7.1.0 |
| Keywords: | Cc: |
Description
accToKey implementation for Backpermute (line 38 of Data/Array/Accelerate/CUDA/Analysis/Hash.hs does not include projection function in hash key.
Multiple uses of backpermute with different projection function will only generate one CUDA implementation, hence, only one of the implementations will have the right funcitonality.
FIX: Change line 38 to: accToKey (Backpermute p f a) = chr 139 : showTy (accType a) ++ show p ++ show f
Change History
Note: See
TracTickets for help on using
tickets.
