Revert "Implement memory fault analysis through context save area"

This reverts commit 75c9506f9d.

Change-Id: Ibf11b764b383b9be291f3009a30550e1a1e2d115
Cette révision appartient à :
Kenny Ho
2017-06-14 14:14:38 -04:00
Parent 35b376e2ee
révision 5b4df54b10
16 fichiers modifiés avec 89 ajouts et 663 suppressions
+1 -8
Voir le fichier
@@ -45,7 +45,6 @@
#ifndef HSA_RUNTME_CORE_INC_COMMAND_QUEUE_H_
#define HSA_RUNTME_CORE_INC_COMMAND_QUEUE_H_
#include <sstream>
#include <vector>
#include "core/common/shared.h"
@@ -56,8 +55,6 @@
#include "inc/amd_hsa_queue.h"
namespace core {
class Agent;
struct AqlPacket {
union {
@@ -140,7 +137,7 @@ All funtions other than Convert and public_handle must be virtual.
class Queue : public Checked<0xFA3906A679F9DB49>,
public Shared<SharedQueue, AMD_QUEUE_ALIGN_BYTES> {
public:
explicit Queue(Agent& agent) : Shared(), amd_queue_(shared_object()->amd_queue), agent_(agent) {
Queue() : Shared(), amd_queue_(shared_object()->amd_queue) {
if (!Shared::IsSharedObjectAllocationValid()) {
return;
}
@@ -311,8 +308,6 @@ class Queue : public Checked<0xFA3906A679F9DB49>,
hsa_queue_t* public_handle() const { return public_handle_; }
Agent& agent() { return agent_; }
protected:
static void set_public_handle(Queue* ptr, hsa_queue_t* handle) {
ptr->do_set_public_handle(handle);
@@ -322,8 +317,6 @@ class Queue : public Checked<0xFA3906A679F9DB49>,
}
hsa_queue_t* public_handle_;
Agent& agent_;
private:
DISALLOW_COPY_AND_ASSIGN(Queue);
};