dispatcher.hh (12697:cd71b966be1e) dispatcher.hh (13784:1941dc118243)
1/*
2 * Copyright (c) 2011-2015,2018 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

--- 126 unchanged lines hidden (view full) ---

135 virtual void recvFunctional(PacketPtr pkt) { }
136 virtual void recvRangeChange() { }
137 virtual void recvReqRetry() { }
138
139 };
140
141 TLBPort *tlbPort;
142
1/*
2 * Copyright (c) 2011-2015,2018 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

--- 126 unchanged lines hidden (view full) ---

135 virtual void recvFunctional(PacketPtr pkt) { }
136 virtual void recvRangeChange() { }
137 virtual void recvReqRetry() { }
138
139 };
140
141 TLBPort *tlbPort;
142
143 virtual BaseMasterPort& getMasterPort(const std::string &if_name,
144 PortID idx);
143 Port &getPort(const std::string &if_name,
144 PortID idx=InvalidPortID) override;
145
146 AddrRangeList getAddrRanges() const;
147 Tick read(PacketPtr pkt);
148 Tick write(PacketPtr pkt);
149
150 // helper functions to retrieve/set GPU attributes
151 int getNumCUs();
152 int wfSize() const;
153 void setFuncargsSize(int funcargs_size);
154
155 /** Returns the size of the static hardware context of a wavefront */
156 uint32_t getStaticContextSize() const;
157};
158
159#endif // __GPU_DISPATCHER_HH__
145
146 AddrRangeList getAddrRanges() const;
147 Tick read(PacketPtr pkt);
148 Tick write(PacketPtr pkt);
149
150 // helper functions to retrieve/set GPU attributes
151 int getNumCUs();
152 int wfSize() const;
153 void setFuncargsSize(int funcargs_size);
154
155 /** Returns the size of the static hardware context of a wavefront */
156 uint32_t getStaticContextSize() const;
157};
158
159#endif // __GPU_DISPATCHER_HH__