- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As I did months away I checked Intel OpenCL Linux under Nvidia SDK samples finding to my surprise that some examples work in Windows but not in Linux..
For example oclNbody fails compilation of kernel sources oclNbodykernel.cl
Build Log:
:80:44: error: call to 'mul24' is ambiguous
:3585:35: note: candidate function
:3586:36: note: candidate function
+ many more similar errors
after that I declare that at the start of oclNbodykernel.cl
#define mul24(a,b) (a*b)
then we get at kernel compilation:
CreateProgramAndKernel _noMT...
Loading Uncompiled kernel from .cl file, using oclNbodyKernel.cl
clCreateProgramWithSource
Stack dump:
0. Running pass 'CallGraph Pass Manager' on module ''.
1. Running pass 'Sparse Conditional Constant Propagation' on function '@gravitation'
Violacin de segmento (`core' generado)
Some other samples have problems also with mul24 ambigous errors but not on Windows..
For example oclNbody fails compilation of kernel sources oclNbodykernel.cl
Build Log:
:80:44: error: call to 'mul24' is ambiguous
+ many more similar errors
after that I declare that at the start of oclNbodykernel.cl
#define mul24(a,b) (a*b)
then we get at kernel compilation:
CreateProgramAndKernel _noMT...
Loading Uncompiled kernel from .cl file, using oclNbodyKernel.cl
clCreateProgramWithSource
Stack dump:
0. Running pass 'CallGraph Pass Manager' on module ''.
1. Running pass 'Sparse Conditional Constant Propagation' on function '@gravitation'
Violacin de segmento (`core' generado)
Some other samples have problems also with mul24 ambigous errors but not on Windows..
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thanks for this report
It looks like a bug in our SDK
We will look into that
Thanks, Shiri
Thanks for this report
It looks like a bug in our SDK
We will look into that
Thanks, Shiri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
The bug was fixed. The samle should work with gold release.
Thanks, Shiri
The bug was fixed. The samle should work with gold release.
Thanks, Shiri
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page