MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / GroupOperationString

Function GroupOperationString

SPIRV/doc.cpp:883–898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

881}
882
883const char* GroupOperationString(int gop)
884{
885
886 switch (gop)
887 {
888 case (int)GroupOperation::Reduce: return "Reduce";
889 case (int)GroupOperation::InclusiveScan: return "InclusiveScan";
890 case (int)GroupOperation::ExclusiveScan: return "ExclusiveScan";
891 case (int)GroupOperation::ClusteredReduce: return "ClusteredReduce";
892 case (int)GroupOperation::PartitionedReduceNV: return "PartitionedReduceNV";
893 case (int)GroupOperation::PartitionedInclusiveScanNV: return "PartitionedInclusiveScanNV";
894 case (int)GroupOperation::PartitionedExclusiveScanNV: return "PartitionedExclusiveScanNV";
895
896 default: return "Bad";
897 }
898}
899
900const char* KernelEnqueueFlagsString(int flag)
901{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected