Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeisSol/SeisSol
/ generate_kernel_name_prefix
Function
generate_kernel_name_prefix
generated_code/common.py:6–7 ·
view source on GitHub ↗
(target)
Source
from the content-addressed store, hash-verified
4
5
6
def
generate_kernel_name_prefix(target):
7
return
f
'{target}_'
if
target ==
'gpu'
else
''
8
9
def
tensor_to_numpy(tensor):
10
np_tensor = np.zeros(tensor.shape())
Callers
7
addKernels
Function · 0.90
addKernels
Function · 0.90
addKernels
Function · 0.90
addKernels
Function · 0.90
addLocal
Method · 0.90
addTime
Method · 0.90
addKernels
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected