Deleted Added
sdiff udiff text old ( 11695:0a65922d564d ) new ( 11698:d1ad31187fa5 )
full compact
1/*
2 * Copyright (c) 2011-2015 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:

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

385 getLds() const
386 {
387 return lds;
388 }
389
390 int32_t
391 getRefCounter(const uint32_t dispatchId, const uint32_t wgId) const;
392
393 bool
394 sendToLds(GPUDynInstPtr gpuDynInst) __attribute__((warn_unused_result));
395
396 typedef std::unordered_map<Addr, std::pair<int, int>> pageDataStruct;
397 pageDataStruct pageAccesses;
398
399 class CUExitCallback : public Callback
400 {

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

762 public:
763 std::list<waveIdentifier> waveIDQueue;
764 };
765 std::map<unsigned, waveQueue> xactCasLoadMap;
766
767 uint64_t getAndIncSeqNum() { return globalSeqNum++; }
768
769 private:
770 uint64_t globalSeqNum;
771 int wavefrontSize;
772 GPUStaticInst *kernelLaunchInst;
773};
774
775#endif // __COMPUTE_UNIT_HH__