ROCRTST: Add missing hidden arguments
Change-Id: Idd5d58749f4dd740c96299c40e87d83840b6fb2b
[ROCm/ROCR-Runtime commit: c93584e725]
This commit is contained in:
@@ -654,6 +654,9 @@ hsa_status_t Run(BinarySearch* bs) {
|
||||
uint64_t global_offset_x;
|
||||
uint64_t global_offset_y;
|
||||
uint64_t global_offset_z;
|
||||
uint64_t printf_buffer;
|
||||
uint64_t default_queue;
|
||||
uint64_t completion_action;
|
||||
} local_args;
|
||||
|
||||
local_args.outputArray = reinterpret_cast<uint4*>(bs->output);
|
||||
@@ -662,6 +665,9 @@ hsa_status_t Run(BinarySearch* bs) {
|
||||
local_args.global_offset_x = 0;
|
||||
local_args.global_offset_y = 0;
|
||||
local_args.global_offset_z = 0;
|
||||
local_args.printf_buffer = 0;
|
||||
local_args.default_queue = 0;
|
||||
local_args.completion_action = 0;
|
||||
|
||||
// Copy the kernel args structure into kernel arg memory
|
||||
err = AllocAndSetKernArgs(bs, &local_args, sizeof(local_args),
|
||||
|
||||
@@ -245,6 +245,9 @@ void TestExample::SetUp(void) {
|
||||
uint64_t global_offset_x;
|
||||
uint64_t global_offset_y;
|
||||
uint64_t global_offset_z;
|
||||
uint64_t printf_buffer;
|
||||
uint64_t default_queue;
|
||||
uint64_t completion_action;
|
||||
} local_args;
|
||||
|
||||
local_args.dstArray = reinterpret_cast<uint32_t *>(dst_buffer_);
|
||||
@@ -253,6 +256,9 @@ void TestExample::SetUp(void) {
|
||||
local_args.global_offset_x = 0;
|
||||
local_args.global_offset_y = 0;
|
||||
local_args.global_offset_z = 0;
|
||||
local_args.printf_buffer = 0;
|
||||
local_args.default_queue = 0;
|
||||
local_args.completion_action = 0;
|
||||
|
||||
err = rocrtst::AllocAndSetKernArgs(this, &local_args, sizeof(local_args));
|
||||
ASSERT_EQ(err, HSA_STATUS_SUCCESS);
|
||||
|
||||
Reference in New Issue
Block a user