Questions tagged [scalacl]

ScalaCL lets programmers run Scala code on GPUs in a very natural way (using JavaCL bindings to the OpenCL API). It also optimizes general Scala loops (on arrays, lists and inline ranges) often by a big margin so.

Useful links

7 questions
22
votes
4 answers

Which scala compiler plugins are available?

I stumbled across the ScalaCL project and its compiler plugin that has an awesome loop optimizer. This made me wonder: Which compiler plugins are available for scala? Plugins need not be performance improving plugins; any type of plugin is eligible…
HRJ
  • 17,079
  • 11
  • 56
  • 80
10
votes
2 answers

Is OpenCL good for agent based simulation?

I'm learning Scala with the aim of writing agent based simulations using actor concurrency. I currently know very little about OpenCL, and before I dive in can anyone tell me if it is likely to be appropriate/compatible with agent based…
Pengin
  • 4,692
  • 6
  • 36
  • 62
7
votes
1 answer

Scala operations with arrays performance (scalacl plugin)

Are there any cons of using scalacl plugin? I am planning to use scala in my project. I have written a little bit of code in scala to see its time of execution. (1 to 1000000).map(1 + _).sum 1. Without plugin is compiled to something like…
slayer_b
  • 551
  • 2
  • 9
5
votes
0 answers

Scalacl compiling error

I am attempting to use scalacl. I have added scalacl as an Xplugin for my project, but when I do it gives me two errors: 1) Error in Scala compiler: null 2) SBT builder crashed while compiling. The error message is 'null'. Check Error Log for…
David Hauck
  • 269
  • 3
  • 12
1
vote
3 answers

Alternative multi-threading optimization languages that run on JVM besides Scala?

I am looking for alternatives or competitors to Scala strictly in regards to programming desktop apps on multiple cores. Whether using CPU or GPU cores (ScalaCL), I want to take advantage of all possible multi-threading performance. Scala is…
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
1
vote
1 answer

(How) can I share a package on the main Scala Bazaar (scala-dev) with sbaz

I'm trying to make a compiler plugin available publicly using sbaz. I followed this tutorial : I packaged my JAR, uploaded it to some public location and ran : sbaz share scalacl-compiler-plugin-1.0-20101005.advert sbaz then told me my package was…
zOlive
  • 1,768
  • 13
  • 11
0
votes
1 answer

scala interpreter error

I did sudo sbaz update sudo sbaz install scalacl scala gave me this error Exception in thread "main" java.lang.NoClassDefFoundError: scala/collection/LinearSeqOptimized at java.lang.Class.getDeclaredConstructors0(Native Method) at…
Navi
  • 8,580
  • 4
  • 34
  • 32