MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / GetKernelHeader

Function GetKernelHeader

test/val/val_image_test.cpp:480–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480std::string GetKernelHeader() {
481 return R"(
482 OpCapability Kernel
483 OpCapability Addresses
484 OpCapability Linkage
485 OpMemoryModel Physical32 OpenCL
486 %void = OpTypeVoid
487 %func = OpTypeFunction %void
488 %f32 = OpTypeFloat 32
489 %u32 = OpTypeInt 32 0
490 )";
491}
492
493std::string TrivialMain() {
494 return R"(

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected