diff options
| author | PSuchita <[email protected]> | 2019-04-18 15:39:22 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-04-18 15:39:22 -0500 |
| commit | 4d6895995b1c5548a3b5ba2e2b203048cd41628b (patch) | |
| tree | d76aa0983dedcaab5f0e0a4751059e23e0a1ce78 /src/gpgpu-sim/gpu-sim.h | |
| parent | 73050b730b31e9f58f8c2a0bfc4b3a8cd92be7ff (diff) | |
| parent | 74289a429633176e37116353347f60c75f2b644a (diff) | |
Merge pull request #2 from PSuchita/texture-fixes-addl
Adding additional fixes for the texture bug and adding additional configs.
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h index 6ce5524..11ffe49 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -337,6 +337,11 @@ public: unsigned get_max_concurrent_kernel() const { return max_concurrent_kernel; } unsigned checkpoint_option; + size_t stack_limit() const {return stack_size_limit; } + size_t heap_limit() const {return heap_size_limit; } + size_t sync_depth_limit() const {return runtime_sync_depth_limit; } + size_t pending_launch_count_limit() const {return runtime_pending_launch_count_limit;} + private: void init_clock_domains(void ); @@ -377,7 +382,11 @@ private: int gpu_stat_sample_freq; int gpu_runtime_stat_flag; - + // Device Limits + size_t stack_size_limit; + size_t heap_size_limit; + size_t runtime_sync_depth_limit; + size_t runtime_pending_launch_count_limit; unsigned long long liveness_message_freq; |
