Mercurial > hg > truffle
comparison src/gpu/hsail/vm/gpu_hsail.hpp @ 13827:8053c3ede984
fixed Windows build issues
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 30 Jan 2014 21:11:38 +0100 |
parents | 49db2c1e3bee |
children | 3e9a960f0da1 |
comparison
equal
deleted
inserted
replaced
13826:62bd4705894c | 13827:8053c3ede984 |
---|---|
30 private: | 30 private: |
31 | 31 |
32 static JNINativeMethod HSAIL_methods[]; | 32 static JNINativeMethod HSAIL_methods[]; |
33 | 33 |
34 // static native boolean initialize(); | 34 // static native boolean initialize(); |
35 static jboolean initialize(JNIEnv *env, jclass); | 35 JNIEXPORT static jboolean initialize(JNIEnv *env, jclass); |
36 | 36 |
37 // static native long generateKernel(byte[] targetCode, String name); | 37 // static native long generateKernel(byte[] targetCode, String name); |
38 static jlong generate_kernel(JNIEnv *env, jclass, jbyteArray code_handle, jstring name_handle); | 38 JNIEXPORT static jlong generate_kernel(JNIEnv *env, jclass, jbyteArray code_handle, jstring name_handle); |
39 | 39 |
40 // static native boolean executeKernel0(HotSpotInstalledCode kernel, int jobSize, Object[] args); | 40 // static native boolean executeKernel0(HotSpotInstalledCode kernel, int jobSize, Object[] args); |
41 static jboolean execute_kernel_void_1d(JNIEnv *env, jclass, jobject hotspotInstalledCode, jint dimX, jobject args); | 41 JNIEXPORT static jboolean execute_kernel_void_1d(JNIEnv *env, jclass, jobject hotspotInstalledCode, jint dimX, jobject args); |
42 | 42 |
43 static void register_heap(); | 43 static void register_heap(); |
44 | 44 |
45 public: | 45 public: |
46 | 46 |