search for: omp_init_lock

Displaying 5 results from an estimated 5 matches for "omp_init_lock".

2020 Jun 27
9
10.0.1-rc2 release has been tagged
Hi, I've tagged the 10.0.1-rc2 release, please test the release and report any issues. Thanks, Tom
2015 Aug 21
2
OpenMP problem with 64-bit Rtools
...c struct { omp_lock_t lock; char pad[20]; } s; void show_pad(void) { int i; for (i = 0; i<20; i++) printf(" %02x",s.pad[i]); printf("\n"); } int main(void) { int i; printf("size: %d\n",(int)sizeof s); for (i = 0; i<20; i++) s.pad[i] = 7; show_pad(); omp_init_lock (&s.lock); show_pad(); omp_set_lock (&s.lock); show_pad(); return 0; } When compiled using the Rtools compiler with "gcc -m32 -fopenmp", it works fine, printing three lines of output with all numbers being 7. But when compiled with "gcc -m64 -fopenmp", the last...
2005 Nov 07
3
R thread safe
...erforms the computational routine in parallel with: ******************* SEXP example(SEXP list, SEXP expr, SEXP rho) { R_len_t i, n = length(list); SEXP ans, alocal; omp_lock_t lck; PROTECT(ans = allocVector(VECSXP, n)); ans = allocVector(VECSXP, n); omp_init_lock(&lck); #pragma omp parallel for default(none) private(i, alocal) shared(list, lck,rho, ans, n, expr) for(i = 0; i < n; i++) { omp_set_lock(&lck); PROTECT(alocal = allocVector(VECSXP, 1)); alocal = allocVector(VECSXP, 1); defineVar(...
2015 Aug 21
0
Wine release 1.7.50
...due to missing msvcirt.dll ?sh_read at filebuf@@2HB export 23650 PowerPoint 2007 insensitive to changes in screen resolution 25225 MPLAB IDE v8.60 toolbars getting reorganised every time when the window minimized and restored 26688 Multiple games crashes on unimplemented function vcomp.dll.omp_init_lock (Risen, Hearts of Iron III demo) 28444 zenilib 0.4.1.0 applications: crash when attempting to use d3dx9 for rendering 29081 Drag and Drop: Duplicate entries in winamp playlist window 29468 not able to click anything on Star Wars Republic Commando launcher 30397 Multiple applications nee...
2005 Nov 07
4
Time-measurement in milliseconds
Hi there I'm loking for a time-measurement to measure time-differences in milliseconds. On my search, I only found the following: - package "base": Sys.time() -> only second-accuracy - package "R.utils": System$currentTimeMillis() -> returns integer of milliseconds, but accuracy is only whole seconds too. At the moment I run every bit of code to measure