diff options
| author | sspenst <[email protected]> | 2016-07-08 14:51:44 -0700 |
|---|---|---|
| committer | sspenst <[email protected]> | 2016-07-08 14:51:44 -0700 |
| commit | 6c1fb702e17b00fd7de72ac7dd4a31584d5978b9 (patch) | |
| tree | d9ec9e297afabe0878c19a520f01e4ca123a75f1 /src/abstract_hardware_model.h | |
| parent | 877cbd077ffaf112b68973fdb7db8f10505303ee (diff) | |
Made gridDim and blockDim global variables so that they can be accessed from sst_impl
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 6ed9b8e..46c3279 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -162,6 +162,9 @@ struct dim3 { }; #endif +extern dim3 gridDim; +extern dim3 blockDim; + void increment_x_then_y_then_z( dim3 &i, const dim3 &bound); class kernel_info_t { |
