File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -183,20 +183,13 @@ uint32_t _getAlignment(uintptr_t address) {
183
183
184
184
static size_t _parseChosenWorkspaceSize () {
185
185
const char * val = getenv (" CUBLASLT_WORKSPACE_SIZE" );
186
- size_t workspace_size = 1024 ;
187
186
#ifdef USE_ROCM
188
187
if (!val) {
189
188
// accept either env var
190
189
val = getenv (" HIPBLASLT_WORKSPACE_SIZE" );
191
190
}
192
- #else
193
- cudaDeviceProp* p = at::cuda::getDeviceProperties (c10::cuda::current_device ());
194
- if (p->major == 8 ) {
195
- workspace_size = 4096 ;
196
- } else if (p->major >= 9 ) {
197
- workspace_size = 32768 ;
198
- }
199
191
#endif
192
+ size_t workspace_size = 1024 ; /* default size in KiB according to #73328 */
200
193
if (val) {
201
194
try {
202
195
workspace_size = std::stoi (val);
You can’t perform that action at this time.
0 commit comments