-
Notifications
You must be signed in to change notification settings - Fork 94
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
CUDA required? #63
Comments
Just to be sure, I ran the I still have 2 problems:
However, trying it again now, compilation fails with a segmentation fault:
Any ideas why this happens?
|
tf-coriander provides an OpenCL implementation of Tensorflow. It doesnt support CUDA devices, except to the extent that such devices provide also an OpenCL-1.2 compatible API. |
enabling CUDA is not supported. Please reconfigure from scratch. Note that you can ignore the message saying it wont use a GPU. Please mentally reinterpret this to mean 'wont use CUDA, but will use OpenCL'. |
Thanks, I will reconfigure and recompile. |
@hughperkins - re-configuring, but I still get similar errors as above. Another thing which is not clear: do I need CUDA installed or not? I've seen some COCL files that reference Thanks. |
CUDA Toolkit is not only not required, but its presence will actually break the compile process :) Can you uninstall all CUDA Toolkit versions, and then redo from the |
(by the way, which files do you see that you feel are referencing |
This makes sense - after uninstalling CUDA I could recompile again using cocl w/o getting the segm fault. Thanks |
Interesting to see if this runs on the odroid platform!
…On Fri, 8 Sep 2017 at 18:45, mihailescu2m ***@***.***> wrote:
This makes sense - after uninstalling CUDA I could recompile again using
cocl w/o getting the segm fault.
I also managed to find the correct file to add my include paths to get rid
of the error I was getting before. The CUDA references I saw them when
looking for include paths, they didn't actually break anything for me.
I still have some errors when compiling some 3rd party packages, but
that's for next week :)
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEc4Dk8RjczEkLPXTsbDDnzax_0rd_ovks5sgRq9gaJpZM4PPKtZ>
.
|
@hughperkins I am now getting this error:
looks like it's coming from |
Interesting. So, the type of https://github.com/hughperkins/coriander/blob/master/include/cocl/cocl_memory.h#L40
I dont remember what constraints led me to choose this type, but note that there are conceptually two sets of constraints:
In any case, given the
There might be a few cascading changes required, since the current declarations might assume a non-pointer type, and need tweaking somehow. |
I am trying using |
Please dont look at things that assume a EULA click-through etc. Any type you choose should be justified by looking at hte constraints of the client application code, not by looking at CUDA forums etc. |
@hughperkins I can compile it now successfully, however I get this error when trying to run something:
Any ideas? Thanks. EDIT: full errorlog: http://paste.debian.net/985967/ EDIT 2: I am using |
@hughperkins another update: successfully compiled and running with gcc 6.3 (I had to add a few patches) However, it's not working :( This is the output when running This is the output of This is the output of |
Seems plausible that it is linked with this line:
Is this the device you are targeting? |
@hughperkins it's not ... I think the issue is EDIT: it seems that @hughperkins would you recommend changing |
@hughperkins another update :) setting the limit to
HOWEVER, some tests fail:
and running
Any idea to fix this? :D |
I removed the isAligned check completely (no idea what will do... but i didn't get any segm faults yet). Linear regression: average_epoch_times= 6.146 kernel_compile_time 0.319 Testing... (Mean square loss Comparison) |
Hi,
I've installed coriander successfully, and now trying to get TF installed on a non-nvidia OpenCL 1.2 GPU (linux).
When running util/run_configure.sh, I see that TF does not select CUDA:
So, does this mean that TF will not get GPU support, so coriander even if it translates OpenCL->CUDA, TF will not use it? Is there a way to force
TF_NEED_CUDA
?The text was updated successfully, but these errors were encountered: