Custom Query (981 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 981)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#1158 fixed opencl_ati_101 plan class does not work davea tstrunk
Description

Specifying the opencl_ati_101 plan class does not work. It's easy to see in sched_customize.cpp, line 580

This is the app_plan function:

 if (!strcmp(plan_class, "mt")) {
        return app_plan_mt(sreq, hu);
    } else if (strstr(plan_class, "ati")) {
        return app_plan_ati(sreq, plan_class, hu);
    } else if (strstr(plan_class, "cuda")) {
        return app_plan_cuda(sreq, plan_class, hu);
    } else if (!strcmp(plan_class, "nci")) {
        return app_plan_nci(sreq, hu);
    } else if (!strcmp(plan_class, "sse3")) {
        return app_plan_sse3(sreq, hu);
    } else if (!strcmp(plan_class, "vbox32")) {
        return app_plan_vbox(sreq, hu, false);
    } else if (!strcmp(plan_class, "vbox64")) {
        return app_plan_vbox(sreq, hu, true);
    } else if (strstr(plan_class, "opencl")) {
        return app_plan_opencl(sreq, plan_class, hu);
    }

In case of a plan class opencl_ati_101 the code returns app_plan_ati instead of traversing to app_plan_opencl, because of a substring comparison for ati.

The fix or rather workaround for this is easy: One just needs to make the opencl check before the ati one.

Thanks and bye!

#1191 fixed Immediate Segmentation Fault with library after init under linux - Stacksize davea tstrunk
Description

When building an application with the current boinc api lib and running it live (that is with shared mem), the timer thread segfaults on Ubuntu 11.10.

The culprit is the timer thread, which dies after TIMER_PERIOD seconds are over (first time timer_handler is called). I think the problem is that the child thread exhausts its stacksize. I can attribute the crash to this changeset (25659): http://boinc.berkeley.edu/trac/changeset/25659/boinc/trunk/boinc/api/boinc_api.cpp

On Ubuntu MAXPATHLEN is 4096. Setting any of the fields changed in the changeset to MAXPATHLEN will produce a segfault. Even raising only abspath[1024] to abspath[3096] produces said segfault.

I'd like to increase the threads stacksize in valgrind, but you can only increase the main thread stacksize there, not the childs. This is one of the error messages: ==24957== Can't extend stack to 0x40273c0 during signal delivery for thread 2: ==24957== too small or bad protection modes

This is the test application, it inits and then sleeps forever and either segfaults or doesn't, depending on MAXPATHLEN.

#include <iostream>
#include <diagnostics.h>
#include <boinc_api.h>
int main(int argc, const char* argv [])
{
    boinc_init_diagnostics( BOINC_DIAG_TRACETOSTDERR|BOINC_DIAG_HEAPCHECKENABLED);
    int rc = boinc_init();
    for (unsigned int i = 0; i < 10000 ;)
    {
        sleep(3000);
    }
}

#118 fixed BOINC Complie Fails romw trona@…
Description

Building BOIC configured with:

./configure --disable-server --build=i686-pc-linux-gnu CXXFLAGS="-O3 -funroll-loops -fforce-addr -ffast-math"

Fails with:

client_state.C: In constructor `CLIENT_STATE::CLIENT_STATE()': client_state.C:77: error: `HOSTTYPEALT' was not declared in this scope make[2]: * [boinc_client-client_state.o] Error 1 make[2]: Leaving directory `/usr/local/src/boinc/client' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/boinc' make: * [all] Error 2

Additionally, _autosetup reports:

Bootstrapping configure script and makefiles: Checking version of 'make' >= 379... succeeded. (381) Checking version of 'm4' >= 104... succeeded. (104) Checking version of 'pkg-config' >= 15... succeeded. (21) Checking version of 'autoconf' >= 258... succeeded. (260) Checking version of 'automake' >= 108... succeeded. (109) aclocal -I m4 && autoheader && automake && autoconf /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION

run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal

/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB Done, now run ./configure

./configure -C to enable caching ./configure --enable-maintainer-mode to enable maintainer dependencies

Any hints?

Thanks.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.