diff options
| author | Mahmoud <[email protected]> | 2018-03-26 11:35:25 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2018-03-26 11:35:25 -0400 |
| commit | 1af82fbe97428654b06b7cd8d40c2d2ce4592aae (patch) | |
| tree | 52b84abdc9043bcd62975671214e6dbdaefb21fe /src/gpgpu-sim/shader.cc | |
| parent | f2a035a3782395c2ea7b26ba64eafc14e6e8cde9 (diff) | |
Fixing resources limitation assertion for compute cab 61
Diffstat (limited to 'src/gpgpu-sim/shader.cc')
| -rw-r--r-- | src/gpgpu-sim/shader.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.cc b/src/gpgpu-sim/shader.cc index bf482fb..8173191 100644 --- a/src/gpgpu-sim/shader.cc +++ b/src/gpgpu-sim/shader.cc @@ -2614,6 +2614,10 @@ unsigned int shader_core_config::max_cta( const kernel_info_t &k ) const assert( result <= MAX_CTA_PER_SHADER ); if (result < 1) { printf ("GPGPU-Sim uArch: ERROR ** Kernel requires more resources than shader has.\n"); + if(gpgpu_ignore_resources_limitation) { + printf ("GPGPU-Sim uArch: gpgpu_ignore_resources_limitation is set, ignore the ERROR!\n"); + return 1; + } abort(); } |
