-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Turing Architecture #9
Comments
This unfortunately isn't a whole lot of information, I've added some better debugging information for failed RM_ALLOCs and RM_CTRLs. |
Thanks, Sure.
|
Ah, well, it's because only Ampere and Ada GPUs are currently supported. |
That seems to fix it however, program now hangs as
|
Hmm, then it doesn't work yet. I expected something along these lines... I'll see what I can do |
Can you go into LIBRECUDA_ERR_PROPAGATE(startExecution(COMPUTE));
LIBRECUDA_ERR_PROPAGATE(awaitExecution());
// setup copy queue
/* BEGIN COMMENT HERE
{
LIBRECUDA_ERR_PROPAGATE(
enqueue(makeNvMethod(4, NVC6C0_SET_OBJECT, 1), {get_dma_copy_type(ctx->device->compute_class)})
);
timelineCtr++;
}
LIBRECUDA_ERR_PROPAGATE(startExecution(DMA));
LIBRECUDA_ERR_PROPAGATE(awaitExecution());
END COMMENT HERE */
// allocate kernargs page
{
LIBRECUDA_ERR_PROPAGATE(
... What happens with these changes will help me debug what is going on. |
still hangs when commented out:
For what it's worth the output does successfully exit when
|
What happens WITH |
It manages to execute without issue:
|
Right, that was expected. If you find the time, can you try to run with you will need #include <chrono>
#include <thread> With this I'm trying to figure out if the issue is exclusively semaphore related, or if the FIFO is also screwed... |
Builds Fine:
|
yikes, this is sort of the worst case scenario I expected. I don't think I can debug this without access to a Turing GPU... I will have to put this on ice for now... |
I was interested in interfacing with Cuda without NVIDIA's proprietary runtime as well at some point. Might submit a PR when I have time to delve in it. |
when building and attempting to launch the executable I am presented with the following error:
Perhaps there are some hardware/driver requirements which I don't posses that are required for this to work? Here is my GPU information:
The text was updated successfully, but these errors were encountered: