MCPcopy Create free account
hub / github.com/Tencent/hpc-ops / Kernel

Function Kernel

3rd/cutlass/include/cutlass/device_kernel.h:74–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72/// Generic CUTLASS kernel template.
73template <typename Operator>
74CUTLASS_GLOBAL
75void Kernel(typename Operator::Params params) {
76 // Dynamic shared memory base pointer
77 extern __shared__ int SharedStorageBase[];
78 // Declare pointer to dynamic shared memory.
79 typename Operator::SharedStorage *shared_storage =
80 reinterpret_cast<typename Operator::SharedStorage *>(SharedStorageBase);
81
82 Operator op;
83
84 op(params, *shared_storage);
85 cutlass::arch::synclog_print();
86}
87
88
89/// Generic CUTLASS kernel template.

Callers

nothing calls this directly

Calls 1

synclog_printFunction · 0.85

Tested by

no test coverage detected