Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot.hsail/src/com/oracle/graal/hotspot/hsail/HSAILHotSpotBackend.java @ 16119:310994c667a7
HSAIL: support offloading some IntStream.reduce() operations to HSA
Contributed-by: Eric Caspole <eric.caspole@amd.com>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 17 Jun 2014 12:05:34 +0200 |
parents | c0b8d395368b |
children | e9998e2be7f5 |
comparison
equal
deleted
inserted
replaced
16117:3b4690ddd92e | 16119:310994c667a7 |
---|---|
248 } | 248 } |
249 | 249 |
250 /** | 250 /** |
251 * Generates a GPU binary from HSAIL code. | 251 * Generates a GPU binary from HSAIL code. |
252 */ | 252 */ |
253 private static native long generateKernel(byte[] hsailCode, String name); | 253 static native long generateKernel(byte[] hsailCode, String name); |
254 | 254 |
255 /** | 255 /** |
256 * Installs the {@linkplain ExternalCompilationResult#getEntryPoint() GPU binary} associated | 256 * Installs the {@linkplain ExternalCompilationResult#getEntryPoint() GPU binary} associated |
257 * with some given HSAIL code in the code cache and returns a {@link HotSpotNmethod} handle to | 257 * with some given HSAIL code in the code cache and returns a {@link HotSpotNmethod} handle to |
258 * the installed code. | 258 * the installed code. |