search for: max_iterations

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

2013 May 23
4
[LLVMdev] LLVM Loop Vectorizer puzzle
...inced yet that the attributes below are the right set of attributes, or that the syntax is right ;) I am thinking of something like: llvm.vectorization.<param><value> where which would allow us to safety and optimization parameters from the front end: - Safety: #pragma vectorize [max_iterations <NUM>] For vectorization we might want to have an optional parameters at which distance vectorization is safe: #pragma vectorize max_iterations 8 would indicate that vectorization up to a distance 8 is safe. This would restrict the combinations of VF and unroll factor the vectorizer is al...
2013 May 23
0
[LLVMdev] LLVM Loop Vectorizer puzzle
On 23 May 2013 14:52, Arnold Schwaighofer <aschwaighofer at apple.com> wrote: > I would like us to grow a few annotations, among others, one to force > vectorization irrespective whether the loop vectorizer thinks it is > beneficial or not - however, this is future music. > Isn't that part of the ivdep implementation? I thought there was support for that already...
2013 May 23
2
[LLVMdev] LLVM Loop Vectorizer puzzle
On May 23, 2013, at 8:06 AM, Hal Finkel <hfinkel at anl.gov> wrote: > ----- Original Message ----- >> >> >> >> Hi, >> >> Just from personal interest, is there a canonical way in IR+metadata >> to express "This small constant trip-count loop is desired to be >> converted into a sequence of vector operations directly"? Ie,
2008 Jan 08
1
[PATCH] QEMU KVM balloon support
...mu/migration.c =================================================================== --- kvm-userspace.orig/qemu/migration.c +++ kvm-userspace/qemu/migration.c @@ -34,6 +34,7 @@ #endif #include <sys/wait.h> +#include <sys/mman.h> #define MIN_FINALIZE_SIZE (200 << 10) #define MAX_ITERATIONS 30 @@ -765,6 +766,9 @@ static void migrate_incoming_homogeneous for (i=0; i<n; i++) p[i] = v; + + if (v == 0) + madvise(phys_ram_base + addr, TARGET_PAGE_SIZE, MADV_DONTNEED); } static int migrate_incoming_page(QEMUFile *f, uint32_t addr) Index: kvm-usersp...
2008 Jan 08
1
[PATCH] QEMU KVM balloon support
...mu/migration.c =================================================================== --- kvm-userspace.orig/qemu/migration.c +++ kvm-userspace/qemu/migration.c @@ -34,6 +34,7 @@ #endif #include <sys/wait.h> +#include <sys/mman.h> #define MIN_FINALIZE_SIZE (200 << 10) #define MAX_ITERATIONS 30 @@ -765,6 +766,9 @@ static void migrate_incoming_homogeneous for (i=0; i<n; i++) p[i] = v; + + if (v == 0) + madvise(phys_ram_base + addr, TARGET_PAGE_SIZE, MADV_DONTNEED); } static int migrate_incoming_page(QEMUFile *f, uint32_t addr) Index: kvm-usersp...