Skip to content

Fall back with CodeGenException goto -> 0362 #54

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
I've developed an algorithm (to solve polyominoes) for which the GPU code could 
be generated.

What is the expected output? 
I expected the algorithm to generate code and run on the GPU.

What do you see instead?
07.06.2012 22:40:30 com.amd.aparapi.KernelRunner warnFallBackAndExecute
WARNUNG: Reverting to Java Thread Pool (JTP) for class 
poly.omino.ReservationIntern: goto -> 0362
com.amd.aparapi.CodeGenException: goto -> 0362
    at com.amd.aparapi.BlockWriter.writeInstruction(BlockWriter.java:664)
    at com.amd.aparapi.KernelWriter.writeInstruction(KernelWriter.java:631)
    at com.amd.aparapi.BlockWriter.writeSequence(BlockWriter.java:285)
    at com.amd.aparapi.BlockWriter.writeBlock(BlockWriter.java:296)
    at com.amd.aparapi.BlockWriter.writeMethodBody(BlockWriter.java:705)
    at com.amd.aparapi.KernelWriter.write(KernelWriter.java:545)
    at com.amd.aparapi.KernelWriter.writeToString(KernelWriter.java:643)
    at com.amd.aparapi.KernelRunner.execute(KernelRunner.java:1396)
    at com.amd.aparapi.Kernel.execute(Kernel.java:1719)
    at com.amd.aparapi.Kernel.execute(Kernel.java:1650)
    at com.amd.aparapi.Kernel.execute(Kernel.java:1635)
    at poly.omino.Solver1$4.run(Solver1.java:405)
    at java.lang.Thread.run(Unknown Source)


What version of the product are you using? On what operating system?
aparapi-2012-05-06
aparapi-2012-02-15
Windows 7, 32bit

Please provide any additional information below.

Is there any possibility to get more detailed information about the cource line 
that issues a code generation problem? I managed to fix all ClassParseExeptions 
by their hintful explanations (additional line numbers of the sources would 
have been very helpful either). But now I get a CodeGenException with no 
additional information about where probably to modify the sources.

Could a CodeGenException be platform specific, that means depending on the 
actual hardware?

Is there any special way recommended to tweak or debug the code generation?

Could an algorithm become to complex?

Original issue reported on code.google.com by deltrion...@gmail.com on 7 Jun 2012 at 9:22

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions