1c37625aa2
SWDEV-101853 - roc::Kernel cleanups: - Remove unused classes & member functions/variables. - Flatten vector arguments for the HSAIL path to remove the need for numElem_. - Consolidate initArguments in a single loop for the HSAIL path. - Use the Kernel::Argument to fill the OCL descriptor as much as possible. - Set the access qualifier for both buffers and images. - Fix the indentation and coding conventions. - Add new ROC_ARG_TYPE type for hidden arguments - Add an index_ field the roc::Kernel::Argument to record the OCL signature index for this argument, or -1 for hidden arguments - Handle the hidden arguments as any other argument at dispatch (now included in the hsailArgList_) - roc::Kernel::hsailArgAt(int) now returns the kernel argument for the given position in the OCL signature, not the position the the hsailArgList_. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#12 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#6 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#12 edit