Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils
Commits
3c959156
Commit
3c959156
authored
2 months ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
expose default block size of dynamic launch config as property
parent
5cf824ca
No related branches found
No related tags found
1 merge request
!458
HIP Target and Platform
Pipeline
#76713
passed
2 months ago
Stage: Code Quality
Stage: Unit Tests
Stage: legacy_test
Stage: docs
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pystencils/codegen/gpu_indexing.py
+4
-0
4 additions, 0 deletions
src/pystencils/codegen/gpu_indexing.py
with
4 additions
and
0 deletions
src/pystencils/codegen/gpu_indexing.py
+
4
−
0
View file @
3c959156
...
...
@@ -291,6 +291,10 @@ class DynamicBlockSizeLaunchConfiguration(GpuLaunchConfiguration):
def
parameters
(
self
)
->
frozenset
[
Parameter
]:
"""
Parameters of this launch configuration
"""
return
self
.
_params
@property
def
default_block_size
(
self
)
->
dim3
:
return
self
.
_default_block_size
@property
def
block_size
(
self
)
->
dim3
|
None
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment