comparison 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
comparison
equal deleted inserted replaced
11893:ec267141f753 11894:c7abc8411011
28 #include "runtime/gpu.hpp" 28 #include "runtime/gpu.hpp"
29 #include "runtime/signature.hpp" 29 #include "runtime/signature.hpp"
30 30
31 #define T_BYTE_SIZE 1 31 #define T_BYTE_SIZE 1
32 #define T_INT_BYTE_SIZE 4 32 #define T_INT_BYTE_SIZE 4
33 #define T_FLOAT_BYTE_SIZE 4
33 #define T_LONG_BYTE_SIZE 8 34 #define T_LONG_BYTE_SIZE 8
34 #define T_ARRAY_BYTE_SIZE 8 35 #define T_ARRAY_BYTE_SIZE 8
35 36
36 class PTXKernelArguments : public SignatureIterator { 37 class PTXKernelArguments : public SignatureIterator {
37 public: 38 public:
97 } 98 }
98 99
99 100
100 void do_byte(); 101 void do_byte();
101 void do_int(); 102 void do_int();
103 void do_float();
102 void do_long(); 104 void do_long();
103 void do_array(int begin, int end); 105 void do_array(int begin, int end);
104 void do_void(); 106 void do_void();
105 107
106 inline void do_bool() { 108 inline void do_bool() {
112 guarantee(false, "do_char:NYI"); 114 guarantee(false, "do_char:NYI");
113 } 115 }
114 inline void do_short() { 116 inline void do_short() {
115 /* TODO : To be implemented */ 117 /* TODO : To be implemented */
116 guarantee(false, "do_short:NYI"); 118 guarantee(false, "do_short:NYI");
117 }
118 inline void do_float() {
119 /* TODO : To be implemented */
120 guarantee(false, "do_float:NYI");
121 } 119 }
122 inline void do_double() { 120 inline void do_double() {
123 /* TODO : To be implemented */ 121 /* TODO : To be implemented */
124 guarantee(false, "do_double:NYI"); 122 guarantee(false, "do_double:NYI");
125 } 123 }