| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| |
| ############################################################################### |
| # Copyright (c) 2007 IBM Corporation and others. |
| # |
| # This program and the accompanying materials |
| # are made available under the terms of the Eclipse Public License 2.0 |
| # which accompanies this distribution, and is available at |
| # https://www.eclipse.org/legal/epl-2.0/ |
| # |
| # SPDX-License-Identifier: EPL-2.0 |
| # |
| # Contributors: |
| # IBM Corporation - initial API and implementation |
| ############################################################################### |
| |
| --> |
| |
| <!-- NOTE TO TRANSLATOR: |
| * This file should remain English as it produces compilable code. |
| --> |
| |
| <templates> |
| |
| <template |
| name="upc_forall" |
| description="%forallLoop" |
| context="org.eclipse.cdt.ui.text.templates.c" |
| id="org.eclipse.cdt.ui.text.templates.c.upc_forall" |
| enabled="true">upc_forall (${var} = 0; ${var} < THREADS; ${var}++; ${var}) { |
| ${line_selection}${cursor} |
| }</template> |
| |
| <template |
| name="upc_max_blocksize" |
| description="%upcMaxBlocksize" |
| context="org.eclipse.cdt.ui.text.templates.c" |
| id="org.eclipse.cdt.ui.text.templates.c.upc_max_blocksize" |
| enabled="true">UPC_MAX_BLOCKSIZE</template> |
| |
| </templates> |
| |
| |