diff options
| author | Mahmoud Khairy A. Abdallah <[email protected]> | 2019-07-14 10:58:39 -0400 |
|---|---|---|
| committer | Mahmoud Khairy A. Abdallah <[email protected]> | 2019-07-14 10:58:39 -0400 |
| commit | ba7145d18dd65391e9510664d26c963fcaab20ee (patch) | |
| tree | d77d560b7949ff3dcc5f62eccdedf82bf25f1a54 | |
| parent | f77cbe9333623d9dc775b127251f11bdb62efc9c (diff) | |
fixing the volta local memory size per thread
| -rw-r--r-- | src/abstract_hardware_model.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 64bbaa2..27a1ba6 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -438,9 +438,9 @@ protected: #define GLOBAL_HEAP_START 0xC0000000 // start allocating from this address (lower values used for allocating globals in .ptx file) -#define SHARED_MEM_SIZE_MAX (64*1024) -#define LOCAL_MEM_SIZE_MAX (8*1024) -#define MAX_STREAMING_MULTIPROCESSORS 64 +#define SHARED_MEM_SIZE_MAX (96*1024) +#define LOCAL_MEM_SIZE_MAX (16*1024) +#define MAX_STREAMING_MULTIPROCESSORS 80 //scale it to Volta #define MAX_THREAD_PER_SM 2048 #define MAX_WARP_PER_SM 64 #define TOTAL_LOCAL_MEM_PER_SM (MAX_THREAD_PER_SM*LOCAL_MEM_SIZE_MAX) |
