http://llvm.org/bugs/show_bug.cgi?id=19610
Bug ID: 19610
Summary: Support template parameters in #pragma loop directives
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Soon to be added #pragma loop directives allow the programmer to explicitly
enable vectorization and interleaving, and specify vector width and
interleaving count.
We want to be able to use a template parameter to specify the vector width or
interleaving count. For example:
template <unsigned V, unsigned I>
void foo() {
#pragma vectorize(V) interleave(I)
for(...) {...}
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs