Skip to content

Instantly share code, notes, and snippets.

Created July 31, 2014 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/60723f6faa50ef4abaa3 to your computer and use it in GitHub Desktop.
Save anonymous/60723f6faa50ef4abaa3 to your computer and use it in GitHub Desktop.
~HYPER_HOME/published/OptiML: rm -rf kMeansCompiler.deg kMeansCompiler.jar generated /Volumes/data/hyperdsl/delite/generatedCache
~HYPER_HOME/published/OptiML: bin/delitec kMeansCompiler --cuda
== Generating DEG file with options: {'profile': False, 'xdebug': False, 'verbose': False, 'xnocache': False, 'jar_app': False, 'debug': False, 'opencl': False, 'no_fusion': False, 'build_dir': '/Volumes/data/hyperdsl/published/OptiML', 'cluster': False, 'dump_exception': False, 'cuda': True, 'no_soa': False, 'cpp': False, 'no_blas': False, 'optimize': 0, 'no_multidimgpu': False}
Delite Application Being Staged:[kMeansCompiler$]
******Generating the program******
~HYPER_HOME/published/OptiML: bin/delite kMeansCompiler /Volumes/data/hyperdsl/data/mandrill-small.dat --cuda 1
== executing application: kMeansCompiler.deg /Volumes/data/hyperdsl/data/mandrill-small.dat
Delite Runtime executing with the following arguments:
kMeansCompiler.deg,/Volumes/data/hyperdsl/data/mandrill-small.dat
Delite Runtime executing with: 1 Scala thread(s), 0 Cpp thread(s), 1 Cuda(s), 0 OpenCL(s)
Beginning Execution Run 1
m:16384,n:3,numClusters:16,mu.numRows:16
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1053343744
at generated.scala.kernel_x3290x3292x3349x3350$$anon$1.process(x3290x3292x3349x3350.scala:255)
at generated.scala.kernel_x3290x3292x3349x3350$$anon$1.processRange(x3290x3292x3349x3350.scala:37)
at generated.scala.kernel_x3290x3292x3349x3350$$anon$1.processRange(x3290x3292x3349x3350.scala:22)
at MultiLoop_x3290x3292x3349x3350_Chunk_0$.apply(MultiLoop_x3290x3292x3349x3350_Chunk_0.scala:14)
at While_x2835_0$.apply(While_x2835_0.scala:36)
at Executable0$.run(Executable0.scala:65)
at ppl.delite.runtime.executor.ExecutionThread.executeWork(ExecutionThread.scala:50)
at ppl.delite.runtime.executor.ExecutionThread.liftedTree1$1(ExecutionThread.scala:37)
at ppl.delite.runtime.executor.ExecutionThread.run(ExecutionThread.scala:35)
at java.lang.Thread.run(Thread.java:745)
^C^Cerror: Delite execution failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment