P4 to Git Change 1109955 by wchau@wchau_WINDOWS7_OCL on 2015/01/08 14:00:03
ECR #399840 - OpenCL Runtime HW Debug support development - HW debeg core and runtime support Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.cpp#2 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.h#2 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#236 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugger.hpp#1 add ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugmanager.cpp#1 add ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugmanager.hpp#1 add ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#488 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#135 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#273 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#104 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#198 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#28 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#295 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#344 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#122 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#67 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#40 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.cpp#1 add ... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.hpp#2 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#221 edit
This commit is contained in:
@@ -862,7 +862,10 @@ public:
|
||||
const void* cpuAqlCode() const { return cpuAqlCode_; }
|
||||
|
||||
//! Returns memory object with AQL code
|
||||
const gpu::Memory* gpuAqlCode() const { return code_; }
|
||||
gpu::Memory* gpuAqlCode() const { return code_; }
|
||||
|
||||
//! Returns size of AQL code
|
||||
size_t aqlCodeSize() const { return codeSize_; }
|
||||
|
||||
//! Returns the size of argument buffer
|
||||
size_t argsBufferSize() const
|
||||
@@ -883,7 +886,7 @@ public:
|
||||
amd::NDRange& lclWorkSize //!< Local work size
|
||||
) const;
|
||||
|
||||
//! Returns AQL packet in CPU memory
|
||||
//! Returns AQL packet in CPU memory
|
||||
//! if the kerenl arguments were successfully loaded, otherwise NULL
|
||||
hsa_kernel_dispatch_packet_t* loadArguments(
|
||||
VirtualGPU& gpu, //!< Running GPU context
|
||||
@@ -939,6 +942,8 @@ private:
|
||||
uint index_; //!< Kernel index in the program
|
||||
|
||||
gpu::Memory* code_; //!< Memory object with ISA code
|
||||
size_t codeSize_; //!< Size of ISA code
|
||||
|
||||
char* hwMetaData_; //!< SI metadata
|
||||
|
||||
union Flags {
|
||||
|
||||
Reference in New Issue
Block a user