Skip to content

Commit

Permalink
Pass the architecture and warp size to the HIP backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddieWitherden committed Feb 26, 2023
1 parent af42472 commit f3e7d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gimmik/hip.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class HIPMatMul(MatMul):
platform = 'hip'
basemeta = {'block': (128, 1, 1), 'width': 1, 'shared': 0}

def _kernel_generators(self, dtype, dsize):
def _kernel_generators(self, dtype, dsize, *, gcn_arch=None, warp_size=64):
# B loading, C streaming kernel
yield ('cstream', {}, {})

Expand Down

0 comments on commit f3e7d90

Please sign in to comment.