diff src/gpu/ptx/vm/ptxKernelArguments.hpp @ 11894:c7abc8411011

Fixed BasicPTXTest and IntegerPTXTest
author Morris Meyer <morris.meyer@oracle.com>
date Sat, 05 Oct 2013 10:31:18 -0400
parents d8659ad83fcc
children 61767ccd4600
line wrap: on
line diff
--- a/src/gpu/ptx/vm/ptxKernelArguments.hpp	Fri Oct 04 11:56:18 2013 +0200
+++ b/src/gpu/ptx/vm/ptxKernelArguments.hpp	Sat Oct 05 10:31:18 2013 -0400
@@ -30,6 +30,7 @@
 
 #define T_BYTE_SIZE       1
 #define T_INT_BYTE_SIZE   4
+#define T_FLOAT_BYTE_SIZE 4
 #define T_LONG_BYTE_SIZE  8
 #define T_ARRAY_BYTE_SIZE 8
 
@@ -99,6 +100,7 @@
 
   void do_byte();
   void do_int();
+  void do_float();
   void do_long();
   void do_array(int begin, int end);
   void do_void();
@@ -115,10 +117,6 @@
     /* TODO : To be implemented */
     guarantee(false, "do_short:NYI");
   }
-  inline void do_float()  {
-    /* TODO : To be implemented */
-    guarantee(false, "do_float:NYI");
-  }
   inline void do_double() {
     /* TODO : To be implemented */
     guarantee(false, "do_double:NYI");