MCPcopy 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
6def generate_kernel_name_prefix(target):
7 return f'{target}_' if target == 'gpu' else ''
8
9def tensor_to_numpy(tensor):
10 np_tensor = np.zeros(tensor.shape())

Callers 7

addKernelsFunction · 0.90
addKernelsFunction · 0.90
addKernelsFunction · 0.90
addKernelsFunction · 0.90
addLocalMethod · 0.90
addTimeMethod · 0.90
addKernelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected