Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • aparapi/aparapi
  • HungryBlueDev/aparapi
  • mur2501/aparapi
  • CoreRasurae/aparapi
4 results
Show changes
Commits on Source (2)
......@@ -5,6 +5,8 @@
* Fix code generation for Private memory space arrays
* Fix regression with NoCL annotated methods called from Kernel.run() method
* Add support for mad24 OpenCL call as a mapped Kernel method
* Aparapi support for the Scala language is officially declared as broken
* SimpleScalaTest unit tests are now disabled
## v3.0.0
* Add support for getKernelMaxWorkGroupSize(), getKernelCompileWorkGroupSize(), getKernelPreferredWorkGroupSizeMultiple(), getKernelMinimumPrivateMemSizeInUsePerWorkItem() and getKernelLocalMemSizeInUse()
......
......@@ -119,3 +119,6 @@ Kernel kernel = new Kernel() {
Range range = Range.create(result.length);
kernel.execute(range);
```
## Known Issues
- Aparapi support for the Scala language is officially declared as broken
\ No newline at end of file
......@@ -44,13 +44,17 @@ class SimpleScalaTest {
KernelWriter.writeToString(entryPoint)
}
@Test def testKernel(): Unit = {
//Unit test intentionally disabled until Scala support is fixed in Aparapi
//@Test def testKernel(): Unit = {
def testKernel(): Unit = {
val a = Array.fill(50000)(Random.nextFloat())
val b = Array.fill(50000)(Random.nextFloat())
assertTrue(runKernel(a, b).length == 50000)
}
@Test def testCL(): Unit = {
//Unit test intentionally disabled until Scala support is fixed in Aparapi
//@Test def testCL(): Unit = {
def testCL(): Unit = {
val a = Array.fill(50000)(Random.nextFloat())
val b = Array.fill(50000)(Random.nextFloat())
val expected =
......