Mercurial > hg > truffle
diff src/gpu/hsail/vm/hsailKernelArguments.cpp @ 13888:51584f76462d
pulled Ptx and Hsail classes out of gpu class namespace
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Feb 2014 11:14:19 +0100 |
parents | 89fbf495e589 |
children | d9aad522d355 |
line wrap: on
line diff
--- a/src/gpu/hsail/vm/hsailKernelArguments.cpp Thu Feb 06 00:21:10 2014 -0800 +++ b/src/gpu/hsail/vm/hsailKernelArguments.cpp Thu Feb 06 11:14:19 2014 +0100 @@ -46,7 +46,7 @@ jvalue jValue; java_lang_boxing_object::get_value(arg, &jValue); - bool pushed = gpu::Hsail::_okra_push_boolean(_kernel, jValue.z); + bool pushed = Hsail::_okra_push_boolean(_kernel, jValue.z); assert(pushed == true, "arg push failed"); } @@ -58,7 +58,7 @@ jvalue jValue; java_lang_boxing_object::get_value(arg, &jValue); - bool pushed = gpu::Hsail::_okra_push_byte(_kernel, jValue.b); + bool pushed = Hsail::_okra_push_byte(_kernel, jValue.b); assert(pushed == true, "arg push failed"); } @@ -72,7 +72,7 @@ if (TraceGPUInteraction) { tty->print_cr("[HSAIL] HSAILKernelArguments::double value = %e", jValue.d); } - bool pushed = gpu::Hsail::_okra_push_double(_kernel, jValue.d); + bool pushed = Hsail::_okra_push_double(_kernel, jValue.d); assert(pushed == true, "arg push failed"); } @@ -86,7 +86,7 @@ if (TraceGPUInteraction) { tty->print_cr("[HSAIL] HSAILKernelArguments::float value = %f", jValue.f); } - bool pushed = gpu::Hsail::_okra_push_float(_kernel, jValue.f); + bool pushed = Hsail::_okra_push_float(_kernel, jValue.f); assert(pushed == true, "float push failed"); } @@ -107,7 +107,7 @@ jvalue jValue; java_lang_boxing_object::get_value(arg, &jValue); - bool pushed = gpu::Hsail::_okra_push_int(_kernel, jValue.i); + bool pushed = Hsail::_okra_push_int(_kernel, jValue.i); assert(pushed == true, "arg push failed"); } @@ -119,7 +119,7 @@ jvalue jValue; java_lang_boxing_object::get_value(arg, &jValue); - bool pushed = gpu::Hsail::_okra_push_long(_kernel, jValue.j); + bool pushed = Hsail::_okra_push_long(_kernel, jValue.j); assert(pushed == true, "arg push failed"); } @@ -130,7 +130,7 @@ tty->print_cr("[HSAIL] HSAILKernelArguments::do_array 0x%08x, is a %s", (address) arg, arg->klass()->external_name()); } - bool pushed = gpu::Hsail::_okra_push_object(_kernel, arg); + bool pushed = Hsail::_okra_push_object(_kernel, arg); assert(pushed == true, "arg push failed"); } @@ -153,7 +153,7 @@ tty->print_cr("[HSAIL] HSAILKernelArguments::do_object, 0x%08x is a %s", (address) arg, arg->klass()->external_name()); } - bool pushed = gpu::Hsail::_okra_push_object(_kernel, arg); + bool pushed = Hsail::_okra_push_object(_kernel, arg); assert(pushed == true, "arg push failed"); }