P4 to Git Change 1151415 by jatang@jatang-opencl-hsa-stg1 on 2015/05/15 11:06:22
EPR #412821 - Fix a crash when the ThreadTrace Object is freed before a ThreadTrace command is processed.
Also change 'None' to 'Undefined', since 'None' is a macro defined in X.h.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/threadtrace.hpp#5 edit
[ROCm/clr commit: 5da96e702c]
This commit is contained in:
1 parent
6fa81ad7e3
commit
628232efc7
2 files changed
+27
-5
No files matched your search
@@ -29,7 +29,7 @@ class ThreadTrace : public RuntimeObject
|
||||
{
|
||||
public:
|
||||
enum State {
|
||||
None,
|
||||
Undefined,
|
||||
MemoryBound,
|
||||
Begin,
|
||||
End,
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
const Device& device) //!< device object
|
||||
: deviceThreadTrace_(NULL)
|
||||
,device_(device)
|
||||
,state_(None)
|
||||
,state_(Undefined)
|
||||
{ }
|
||||
|
||||
//! Get the thread trace's associated device
|
||||
|
||||
Reference in new issue
Block a user