diff 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
line wrap: on
line diff
--- a/src/gpu/hsail/vm/gpu_hsail.hpp	Thu Jan 30 17:27:04 2014 +0100
+++ b/src/gpu/hsail/vm/gpu_hsail.hpp	Thu Jan 30 21:11:38 2014 +0100
@@ -32,13 +32,13 @@
   static JNINativeMethod HSAIL_methods[];
 
   // static native boolean initialize();
-  static jboolean initialize(JNIEnv *env, jclass);
+  JNIEXPORT static jboolean initialize(JNIEnv *env, jclass);
 
   // static native long generateKernel(byte[] targetCode, String name);
-  static jlong generate_kernel(JNIEnv *env, jclass, jbyteArray code_handle, jstring name_handle);
+  JNIEXPORT static jlong generate_kernel(JNIEnv *env, jclass, jbyteArray code_handle, jstring name_handle);
 
   // static native boolean executeKernel0(HotSpotInstalledCode kernel, int jobSize, Object[] args);
-  static jboolean execute_kernel_void_1d(JNIEnv *env, jclass, jobject hotspotInstalledCode, jint dimX, jobject args);
+  JNIEXPORT static jboolean execute_kernel_void_1d(JNIEnv *env, jclass, jobject hotspotInstalledCode, jint dimX, jobject args);
 
   static void register_heap();