From tom.deneau at amd.com Mon Jul 1 15:52:04 2013 From: tom.deneau at amd.com (Deneau, Tom) Date: Mon, 1 Jul 2013 22:52:04 +0000 Subject: HSAIL Simulator open sourced Message-ID: I am pleased to announce that the HSA Foundation has open sourced the following projects: * libHSAIL (tools for parsing, assembling and disassembling HSAIL) * an HSAIL Instruction Set Simulator * OKRA interface to the HSAIL Simulator The following wiki page goes into detail of how to build the simulator and describes some tests that can be run against it, including tests that use the graal HSAIL backend patch which is currently under review. https://wiki.openjdk.java.net/display/Sumatra/The+HSAIL+Simulator -- Tom Deneau, AMD From bernard.traversat at oracle.com Tue Jul 2 08:16:43 2013 From: bernard.traversat at oracle.com (Bernard Traversat) Date: Tue, 2 Jul 2013 16:16:43 +0100 Subject: HSAIL Simulator open sourced In-Reply-To: References: Message-ID: <91CBE327-475B-4B56-817F-077A5FE7FB95@oracle.com> This is great and glad to see continued progress. Cheers, B. On Jul 1, 2013, at 11:52 PM, "Deneau, Tom" wrote: > I am pleased to announce that the HSA Foundation has open sourced the > following projects: > > * libHSAIL (tools for parsing, assembling and disassembling HSAIL) > * an HSAIL Instruction Set Simulator > * OKRA interface to the HSAIL Simulator > > The following wiki page goes into detail of how to build the simulator > and describes some tests that can be run against it, including tests that > use the graal HSAIL backend patch which is currently under review. > > https://wiki.openjdk.java.net/display/Sumatra/The+HSAIL+Simulator > > -- Tom Deneau, AMD > > > From listmail at philipreames.com Sun Jul 7 14:02:27 2013 From: listmail at philipreames.com (Philip Reames) Date: Sun, 07 Jul 2013 14:02:27 -0700 Subject: Status of GPU garbage collection efforts? Message-ID: <51D9D763.9040701@philipreames.com> Good afternoon, I am curious what the current status of the GPU garbage collection effort is. I can't find much online or in the mailing list archive that describes your efforts. I am curious to see what approach you've taken and what bottlenecks you've run into. In particular, I'd be really interested in knowing what object layouts you've chosen, whether you're doing stop-the-world or concurrent GC, and how you're handling load balancing across compute units on the GPU. I am one of the authors of a previous GPU GC implementation using the Jikes RVM. For those curious, our implementation is described in a paper (1) that appeared at ISMM 2012 and our source code is available on github (2). (1) http://www.philipreames.com/publications/ismm2012-gpugc.html (2) https://github.com/preames/gpu-garbage-collection We've been weighing the possibility of extending our previous work to a truly concurrent collector. Before we move in that direction, I'm very much interested in hearing about your efforts. Yours, Philip Reames From Gary.Frost at amd.com Mon Jul 8 06:57:45 2013 From: Gary.Frost at amd.com (Frost, Gary) Date: Mon, 8 Jul 2013 13:57:45 +0000 Subject: Status of GPU garbage collection efforts? In-Reply-To: <51D9D763.9040701@philipreames.com> References: <51D9D763.9040701@philipreames.com> Message-ID: Philip, Actually, so far we have not dived too deep into discussions centered on garbage collection. Myself and colleagues from AMD have been focused on HSA ( see http://hsafoundation.com) enablement (via Graal). As you may know, HSA offers a number of compelling advantages for GPU execution. Including, fully coherent memory access from GPU and CPU side. We believe that (for HSA compatible devices) many of the memory/allocation/GC issues traditionally associated with CPU + discrete GPU devices can be sidestepped. I do think it would be great to start a discussion regarding GC and allocation strategies for GPU execution. I think your previous work with Jikes will be very valuable here. Gary -----Original Message----- From: sumatra-dev-bounces at openjdk.java.net [mailto:sumatra-dev-bounces at openjdk.java.net] On Behalf Of Philip Reames Sent: Sunday, July 07, 2013 4:02 PM To: sumatra-dev at openjdk.java.net Subject: Status of GPU garbage collection efforts? Good afternoon, I am curious what the current status of the GPU garbage collection effort is. I can't find much online or in the mailing list archive that describes your efforts. I am curious to see what approach you've taken and what bottlenecks you've run into. In particular, I'd be really interested in knowing what object layouts you've chosen, whether you're doing stop-the-world or concurrent GC, and how you're handling load balancing across compute units on the GPU. I am one of the authors of a previous GPU GC implementation using the Jikes RVM. For those curious, our implementation is described in a paper (1) that appeared at ISMM 2012 and our source code is available on github (2). (1) http://www.philipreames.com/publications/ismm2012-gpugc.html (2) https://github.com/preames/gpu-garbage-collection We've been weighing the possibility of extending our previous work to a truly concurrent collector. Before we move in that direction, I'm very much interested in hearing about your efforts. Yours, Philip Reames From doug.simon at oracle.com Tue Jul 9 02:18:41 2013 From: doug.simon at oracle.com (Doug Simon) Date: Tue, 9 Jul 2013 11:18:41 +0200 Subject: HSAIL Simulator open sourced In-Reply-To: References: Message-ID: <942CA0B2-E6A6-480E-9DFE-6A8EC96E8CEE@oracle.com> I've managed to build the simulator and use it to run all the Graal HSAIL tests. It was relatively straight-forward - nice work! I have one minor request. Is it possible to have the simulator be configurable to be less verbose? Most of the existing Graal unit tests don't (or shouldn't) produce output on the console (apart from that generated by Junit itself). It would be great if the simulator could be made to do the same somehow. And I have one major request. Can you port the simulator to Java? ;-) This would greatly simplify integrating it into the gate tests. -Doug On Jul 2, 2013, at 12:52 AM, "Deneau, Tom" wrote: > I am pleased to announce that the HSA Foundation has open sourced the > following projects: > > * libHSAIL (tools for parsing, assembling and disassembling HSAIL) > * an HSAIL Instruction Set Simulator > * OKRA interface to the HSAIL Simulator > > The following wiki page goes into detail of how to build the simulator > and describes some tests that can be run against it, including tests that > use the graal HSAIL backend patch which is currently under review. > > https://wiki.openjdk.java.net/display/Sumatra/The+HSAIL+Simulator > > -- Tom Deneau, AMD > > > From christian.thalinger at oracle.com Tue Jul 9 11:15:53 2013 From: christian.thalinger at oracle.com (Christian Thalinger) Date: Tue, 9 Jul 2013 11:15:53 -0700 Subject: HSAIL Simulator open sourced In-Reply-To: <942CA0B2-E6A6-480E-9DFE-6A8EC96E8CEE@oracle.com> References: <942CA0B2-E6A6-480E-9DFE-6A8EC96E8CEE@oracle.com> Message-ID: <22E83966-6D54-42B3-9245-A0B6F0D377CA@oracle.com> On Jul 9, 2013, at 2:18 AM, Doug Simon wrote: > I've managed to build the simulator and use it to run all the Graal HSAIL tests. It was relatively straight-forward - nice work! > > I have one minor request. Is it possible to have the simulator be configurable to be less verbose? Most of the existing Graal unit tests don't (or shouldn't) produce output on the console (apart from that generated by Junit itself). It would be great if the simulator could be made to do the same somehow. > > And I have one major request. Can you port the simulator to Java? ;-) This would greatly simplify integrating it into the gate tests. That is a very good point. Having a simulator written in Java for all GPU architectures we support would be a major help to keep the compilers up and running and not break anything. We've seen how bit-rot can easily happen with things like the Zero or Shark ports. -- Chris > > -Doug > > On Jul 2, 2013, at 12:52 AM, "Deneau, Tom" wrote: > >> I am pleased to announce that the HSA Foundation has open sourced the >> following projects: >> >> * libHSAIL (tools for parsing, assembling and disassembling HSAIL) >> * an HSAIL Instruction Set Simulator >> * OKRA interface to the HSAIL Simulator >> >> The following wiki page goes into detail of how to build the simulator >> and describes some tests that can be run against it, including tests that >> use the graal HSAIL backend patch which is currently under review. >> >> https://wiki.openjdk.java.net/display/Sumatra/The+HSAIL+Simulator >> >> -- Tom Deneau, AMD >> >> >> > From david.r.chase at oracle.com Wed Jul 10 12:36:41 2013 From: david.r.chase at oracle.com (david.r.chase at oracle.com) Date: Wed, 10 Jul 2013 19:36:41 +0000 Subject: hg: sumatra/sumatra-dev/scratch: Summary: minor repairs to whitespace and comments, also enhanced the factory interface slightly. Message-ID: <20130710193641.226684896E@hg.openjdk.java.net> Changeset: bc115dc339f5 Author: drchase Date: 2013-07-10 15:30 -0400 URL: http://hg.openjdk.java.net/sumatra/sumatra-dev/scratch/rev/bc115dc339f5 Summary: minor repairs to whitespace and comments, also enhanced the factory interface slightly. Keywords: data, layout ! src/org/openjdk/sumatra/data/prototype/LayoutFactory.java ! src/org/openjdk/sumatra/data/prototype/Matrix.java ! src/org/openjdk/sumatra/data/prototype/README ! src/org/openjdk/sumatra/data/prototype/S.java From tom.deneau at amd.com Wed Jul 10 14:53:38 2013 From: tom.deneau at amd.com (Deneau, Tom) Date: Wed, 10 Jul 2013 21:53:38 +0000 Subject: HSAIL Simulator open sourced Message-ID: Now that the HSAIL backend has been checked into the Graal trunk, I have updated the wiki page below since the procedure for building and running graal against the simulator is simpler now. -- Tom -----Original Message----- From: Deneau, Tom Sent: Monday, July 01, 2013 5:52 PM To: sumatra-dev at openjdk.java.net; graal-dev at openjdk.java.net Subject: HSAIL Simulator open sourced I am pleased to announce that the HSA Foundation has open sourced the following projects: * libHSAIL (tools for parsing, assembling and disassembling HSAIL) * an HSAIL Instruction Set Simulator * OKRA interface to the HSAIL Simulator The following wiki page goes into detail of how to build the simulator and describes some tests that can be run against it, including tests that use the graal HSAIL backend patch which is currently under review. https://wiki.openjdk.java.net/display/Sumatra/The+HSAIL+Simulator -- Tom Deneau, AMD