shader.hh (11692:e772fdcd3809) | shader.hh (11900:0787df49546b) |
---|---|
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: --- 59 unchanged lines hidden (view full) --- 68 class GpuTLB; 69} 70 71static const int LDS_SIZE = 65536; 72 73// Class Shader: This describes a single shader instance. Most 74// configurations will only have a single shader. 75 | 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: --- 59 unchanged lines hidden (view full) --- 68 class GpuTLB; 69} 70 71static const int LDS_SIZE = 65536; 72 73// Class Shader: This describes a single shader instance. Most 74// configurations will only have a single shader. 75 |
76class Shader : public SimObject | 76class Shader : public ClockedObject |
77{ 78 protected: 79 // Shader's clock period in terms of number of ticks of curTime, 80 // aka global simulation clock 81 Tick clock; 82 83 public: 84 typedef ShaderParams Params; --- 127 unchanged lines hidden --- | 77{ 78 protected: 79 // Shader's clock period in terms of number of ticks of curTime, 80 // aka global simulation clock 81 Tick clock; 82 83 public: 84 typedef ShaderParams Params; --- 127 unchanged lines hidden --- |