ATI coproc support

Message boards : Server programs : ATI coproc support
Message board moderation

To post messages, you must log in.

AuthorMessage
Jon Sonntag

Send message
Joined: 4 Sep 09
Posts: 3
United States
Message 27452 - Posted: 16 Sep 2009, 19:43:00 UTC

In sched_customize.cpp, the following:

bool app_plan_uses_gpu(const char* plan_class) {
    if (!strcmp(plan_class, "cuda")) {
        return true;
    }
    return false;
}


needs to acknowledge ATI coprocs such as:

bool app_plan_uses_gpu(const char* plan_class) {
    if (!strcmp(plan_class, "cuda")) {
        return true;
    }
    if (!strcmp(plan_class, "ati")) {
        return true;
    }
    return false;
}

ID: 27452 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 27453 - Posted: 16 Sep 2009, 20:21:25 UTC - in response to Message 27452.  

That file is just an example; you're supposed to modify it to suit your needs.
ID: 27453 · Report as offensive

Message boards : Server programs : ATI coproc support

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.