search for: endfor

Displaying 12 results from an estimated 12 matches for "endfor".

2016 May 20
2
Determination of statements that contain only matrix multiplication
....., mr −1 in steps of 1 > Loop 8 for jr' = 0, ..., nr −1 in steps of 1 > C[ic * mr + i * mc + ir'][jc * nr + j * nc > + jr'] += Ac[mr * (pr + kc * ic) + ir'] * Bc[(pr + jc * kc) * nr + > jr']; > endfor > endfor > endfor > endfor > endfor > endfor > endfor > endfor > > To get closer to an implementation of the algorithm from [1] for...
2016 May 17
4
Determination of statements that contain only matrix multiplication
On 05/17/2016 01:47 PM, Michael Kruse wrote: > 2016-05-16 19:52 GMT+02:00 Roman Gareev <gareevroman at gmail.com>: >> Hi Tobias, >> >> could we use information about memory accesses of a SCoP statement and >> def-use chains to determine statements, which don’t contain matrix >> multiplication of the following form? > > Assuming s/don't/do you want
2012 Jul 23
2
translating IDL to R
...press(file0_in, /REMOVE_ALL) gfedmly = read_ascii( file0_in ) gfedmly = gfedmly.field001 ; reverse the direction of latitude with monthly emissions ; to combine with daily fire fractions. for j=1, nlat/2 do begin tmp = gfedmly[*,j-1] gfedmly[*,j-1] = gfedmly[*,nlat-j] gfedmly[*,nlat-j] = tmp endfor undefine, tmp ; Then, you can read daily fire fractions from the netcdf file. file1_in = string('fraction_emissions_20040121.nc') file1_in=strcompress(file1_in, /REMOVE_ALL) fid=NCDF_OPEN(file1_in) varid=NCDF_VARID(fid,'Fraction_of_Emissions') NCDF_VARGET, fid, varid, DATA NCDF_CLO...
2009 Apr 08
1
Genstat into R - Randomisation test
...y this in R. "data from trade-off.IDCD" list variate [nval=1000] slope calc ID1=ID graph ID; CD calc b=corr(ID; CD) calc slope$[1]=b "slope$[1] is the correlation before permutating the data" for i=2...1000 randomize ID1 calc b=corr(CD1; ID1) calc slope$[i]=b endfor hist slope describe slope quantile [proportion=!(0.0005,0.005, 0.025, 0.975, 0.995,0.9995)]slope print slope$[1] corr[p=corr] ID,CD DHISTOGRAM [WINDOW=1; ORIENTATION=vertical; KEY=0; BARCOVERING=1.0] slope; PEN=2 Does anybody have done something similar and has any idea how to make the random...
2016 Jul 23
0
status of the FreeBSD port/package and some questions
...ls is quite heavy, we give users the option to turn this off. I don't see an autoconf option to do this, so here is our workaround when the user chooses not to install the PDF manuals: .for i in KPSEWHICH MAKEINDEX PDFLATEX PDFTEX TEX TEXI2DVI CONFIGURE_ENV+=ac_cv_path_${i}="" .endfor 5. Miscellaneous We changed a few default locations. @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g'\ ${WRKSRC}/src/nmath/standalone/Makefile.in \ ${WRKSRC}/src/unix/Makefile.in @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" \ ${WRKSRC}/configure...
2009 Sep 15
0
Liquid assign_to
Hello using liquid markup i am trying to do the following. {{ ''holiday'' | album_thumbs | assign_to ''asset_list'' }} {% for asset in asset_list %} "link: " + {{ asset | asset_path }} {% endfor %} It should return a list with all assets for the loop, but the asset_list variable never gets set. It just returns #### (number of records) on this line: {{ ''holiday'' | album_thumbs | assign_to ''asset_list'' }} I have created the following function inside a...
2003 May 22
1
readmes
...= "" ]; then \ ${ECHO_MSG} "===> ${DIRPRFX}$${edir}"; \ cd ${.CURDIR}/$${edir}; \ ${MAKE} -B ${.TARGET:E:realinstall=install} \ DIRPRFX=${DIRPRFX}$$edir/; \ fi -${SUBDIR}:: ${SUBDIR:S/$/.all/} +.for _subdir in ${SUBDIR} +${_subdir}:: ${_subdir:S/$/.all/} +.endfor .endif .if !target(install) .if !target(beforeinstall) beforeinstall: .endif -- There are two types of tasks in life: those which become less urgent as time passes, and those which become more urgent. Rotating one's .signature file is a task of the latter type.
2008 Dec 01
3
[LLVMdev] Multiple directories in a single library
...ore elegant to specify EXTRA_DIRS instead (or perhaps a better name) as a list of directories, and let Makefile.rules handle the wildcarding here. However, I've not found a way to write .for DIR in $(EXTRA_DIRS) SOURCES += $(patsubst $(PROJ_SRC_DIR)/%, %, wildcard $(PROJ_SRC_DIR)/$DIR/*.cpp)) .endfor in the Makefile (the above appears to be valid in NetBSD make, any suggestions on how to do this in GNU make?) Doing this in shell seems tricky, because then the wildcarding must be done in shell as well AFAICS. The second change in the patch makes sure that the proper directory is created below...
2003 Jun 20
0
[PATCH] Regression test portabilization.
...rm -f ${.CURDIR}/rsa_secsh.pub t4: ssh-keygen -lf ${.CURDIR}/rsa_openssh.pub |\ @@ -73,10 +75,9 @@ ssh-keygen -lf t7.out > /dev/null ssh-keygen -Bf t7.out > /dev/null -.for t in ${LTESTS} -REGRESS_TARGETS+=t-${t} -t-${t}: - sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh -.endfor - -.include "bsd.regress.mk" +t-exec: ${LTESTS:=.sh} + @if [ "x$?" = "x" ]; then exit 0; fi; \ + for TEST in ""$?; do \ + echo "run test $${TEST}" ... 1>&2; \ + (sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \ + do...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...et = iommu_prepare_static_identity_mapping(hw_pass_through); if (ret) { - printk(KERN_CRIT "Failed to setup IOMMU pass-through\n"); + pr_crit("Failed to setup IOMMU pass-through\n"); goto error; } } @@ -2517,7 +2510,7 @@ static int __init init_dmars(void) * endfor * endfor */ - printk(KERN_INFO "IOMMU: Setting RMRR:\n"); + pr_info("Setting RMRR:\n"); for_each_rmrr_units(rmrr) { for (i = 0; i < rmrr->devices_cnt; i++) { pdev = rmrr->devices[i]; @@ -2529,8 +2522,7 @@ static int __init init_dmars(void) continue;...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...et = iommu_prepare_static_identity_mapping(hw_pass_through); if (ret) { - printk(KERN_CRIT "Failed to setup IOMMU pass-through\n"); + pr_crit("Failed to setup IOMMU pass-through\n"); goto error; } } @@ -2517,7 +2510,7 @@ static int __init init_dmars(void) * endfor * endfor */ - printk(KERN_INFO "IOMMU: Setting RMRR:\n"); + pr_info("Setting RMRR:\n"); for_each_rmrr_units(rmrr) { for (i = 0; i < rmrr->devices_cnt; i++) { pdev = rmrr->devices[i]; @@ -2529,8 +2522,7 @@ static int __init init_dmars(void) continue;...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...et = iommu_prepare_static_identity_mapping(hw_pass_through); if (ret) { - printk(KERN_CRIT "Failed to setup IOMMU pass-through\n"); + pr_crit("Failed to setup IOMMU pass-through\n"); goto error; } } @@ -2517,7 +2510,7 @@ static int __init init_dmars(void) * endfor * endfor */ - printk(KERN_INFO "IOMMU: Setting RMRR:\n"); + pr_info("Setting RMRR:\n"); for_each_rmrr_units(rmrr) { for (i = 0; i < rmrr->devices_cnt; i++) { pdev = rmrr->devices[i]; @@ -2529,8 +2522,7 @@ static int __init init_dmars(void) continue;...