P4 to Git Change 1127507 by wchau@wchau_WINDOWS7_OCL on 2015/03/04 16:00:34

ECR #399840 - OpenCL Runtime HW Debug support development - implement two-level trap handler

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugmanager.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugmanager.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gputrap.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#353 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#128 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.hpp#7 edit


[ROCm/clr commit: fd80bb324f]
此提交包含在:
foreman
2015-03-04 22:29:36 -05:00
父節點 aaa9d7455b
當前提交 0c73eaad95
共有 7 個檔案被更改,包括 261 行新增40 行删除
+11 -1
查看文件
@@ -128,6 +128,12 @@ public:
//! Retrieve the post-dispatch callback function arguments
void* postDispatchCallBackArgs() const { return postDispatchCallBackArgs_; }
//! Retrieve the memory pointer of the runtime trap handler code
device::Memory* runtimeTBA() const { return runtimeTBA_; }
//! Retrieve the memory pointer of the runtime trap handler buffer
device::Memory* runtimeTMA() const { return runtimeTMA_; }
//! Set exception policy
void setExceptionPolicy(void* policy);
@@ -175,7 +181,6 @@ public:
//! Unregister the debugger
virtual void unregisterDebugger() = 0;
//! Send the wavefront control cmmand
virtual void wavefrontControl(uint32_t waveAction,
uint32_t waveMode,
@@ -248,6 +253,11 @@ protected:
cl_dbg_exception_policy_amd excpPolicy_; //!< exception policy
cl_dbg_kernel_exec_mode_amd execMode_; //!< kernel execution mode
RuntimeTrapInfo rtTrapHandlerInfo_; //!< Runtime trap information
//! Runtime Trap handler pointer (TBA) & its buffer (TMA)
device::Memory* runtimeTBA_; //! runtime trap handler pointer
device::Memory* runtimeTMA_; //! runtime trap handler buffer
};