Skip to content

Instantly share code, notes, and snippets.

@roboguy13
Created February 26, 2014 02:47
Show Gist options
  • Save roboguy13/9222576 to your computer and use it in GitHub Desktop.
Save roboguy13/9222576 to your computer and use it in GitHub Desktop.
% dist/build/accelerate-nofib/accelerate-nofib
accelerate-nofib (c) [2013] The Accelerate Team
Usage: accelerate-nofib [OPTIONS]
Available backends:
interpreter reference implementation (sequential)
* cuda implementation for NVIDIA GPUs (parallel)
prelude:
map:
Int32:
DIM0:
abs: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
square: [OK, passed 100 tests]
DIM1:
abs: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
square: [OK, passed 100 tests]
DIM2:
abs: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
square: [OK, passed 100 tests]
Int64:
DIM0:
abs: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
square: [OK, passed 100 tests]
DIM1:
abs: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
square: [OK, passed 100 tests]
DIM2:
abs: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
square: [OK, passed 100 tests]
zipWith:
Int32:
DIM0:
zip: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
min: [OK, passed 100 tests]
DIM1:
zip: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
min: [OK, passed 100 tests]
DIM2:
zip: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
min: [OK, passed 100 tests]
Int64:
DIM0:
zip: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
min: [OK, passed 100 tests]
DIM1:
zip: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
min: [OK, passed 100 tests]
DIM2:
zip: [OK, passed 100 tests]
plus: [OK, passed 100 tests]
min: [OK, passed 100 tests]
foldAll:
Int32:
DIM0:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
DIM1:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
DIM2:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
Int64:
DIM0:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
DIM1:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
DIM2:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
fold:
Int32:
DIM1:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
DIM2:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
Int64:
DIM1:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
DIM2:
sum: [OK, passed 100 tests]
non-neutral sum: [OK, passed 100 tests]
minimum: [OK, passed 100 tests]
maximum: [OK, passed 100 tests]
backpermute:
Int32:
reverse: [OK, passed 100 tests]
transpose: [OK, passed 100 tests]
init: [OK, passed 100 tests]
tail: [OK, passed 100 tests]
take: [OK, passed 100 tests]
drop: [OK, passed 100 tests]
slit: [OK, passed 100 tests]
gather: [OK, passed 100 tests]
gatherIf: [OK, passed 100 tests]
Int64:
reverse: [OK, passed 100 tests]
transpose: [OK, passed 100 tests]
init: [OK, passed 100 tests]
tail: [OK, passed 100 tests]
take: [OK, passed 100 tests]
drop: [OK, passed 100 tests]
slit: [OK, passed 100 tests]
gather: [OK, passed 100 tests]
gatherIf: [OK, passed 100 tests]
permute:
Int32:
fill:
DIM1: [OK, passed 100 tests]
DIM2: [OK, passed 100 tests]
scatter: [OK, passed 100 tests]
scatterIf: [OK, passed 100 tests]
histogram: [OK, passed 100 tests]
Int64:
fill:
DIM1: [OK, passed 100 tests]
DIM2: [OK, passed 100 tests]
scatter: [OK, passed 100 tests]
scatterIf: [OK, passed 100 tests]
histogram: [OK, passed 100 tests]
prefix sum:
Int32:
scanl: [OK, passed 100 tests]
scanl': [Failed]
*** Failed! Falsifiable (after 64 tests):
Array (Z :. 59) [3214586,-22955798,24117958,-20242782,-18004116,3985569,1024273,-32729186,-30502029,-5017248,3166066,4277396,4405509,19375005,24465845,21106830,-16052075,13200861,-27493632,17784659,4138004,16501551,25998396,2146684,13413209,-25369899,-25241634,-14754912,-28861012,-10508167,21070625,-29990464,16694578,-24171913,-2266914,-18248338,-24717578,18032912,-11713204,-3853636,25922588,-26181472,4306350,14492894,22005937,1681278,-27479141,29397304,19498557,-16341281,-26789977,-30407265,-7861545,10902053,31949840,27671411,30285084,3983719,11323650]
*** Expected:
(Array (Z :. 59) [0,3214586,-19741212,4376746,-15866036,-33870152,-29884583,-28860310,-61589496,-92091525,-97108773,-93942707,-89665311,-85259802,-65884797,-41418952,-20312122,-36364197,-23163336,-50656968,-32872309,-28734305,-12232754,13765642,15912326,29325535,3955636,-21285998,-36040910,-64901922,-75410089,-54339464,-84329928,-67635350,-91807263,-94074177,-112322515,-137040093,-119007181,-130720385,-134574021,-108651433,-134832905,-130526555,-116033661,-94027724,-92346446,-119825587,-90428283,-70929726,-87271007,-114060984,-144468249,-152329794,-141427741,-109477901,-81806490,-51521406,-47537687],Array (Z) [-36214037])
*** Received:
(Array (Z :. 59) [-36214037,3214586,-19741212,4376746,-15866036,-33870152,-29884583,-28860310,-61589496,-92091525,-97108773,-93942707,-89665311,-85259802,-65884797,-41418952,-20312122,-36364197,-23163336,-50656968,-32872309,-28734305,-12232754,13765642,15912326,29325535,3955636,-21285998,-36040910,-64901922,-75410089,-54339464,-84329928,-67635350,-91807263,-94074177,-112322515,-137040093,-119007181,-130720385,-134574021,-108651433,-134832905,-130526555,-116033661,-94027724,-92346446,-119825587,-90428283,-70929726,-87271007,-114060984,-144468249,-152329794,-141427741,-109477901,-81806490,-51521406,-47537687],Array (Z) [-36214037])
(used seed -4675423525838174256)
scanl1: [OK, passed 100 tests]
scanr: [OK, passed 100 tests]
scanr': [OK, passed 100 tests]
scanr1: [OK, passed 100 tests]
scanl1Seg: [Failed]
accelerate-nofib:
*** Internal error in package accelerate ***
*** Please submit a bug report at https://github.com/AccelerateHS/accelerate/issues
./Data/Array/Accelerate/CUDA/State.hs:86 (unhandled): CUDA Exception: invalid argument
accelerate-nofib: forkOS_entry: interrupted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment