- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Programming guide says, that 64bit integer feauture of Embedded Profile is supported, but aoc gives an error to declaration of variable as ulong or long. Does altera support 64bit integers?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you copy your declaration to this forum post. I was able to take your code from the other post, and change the uint types to ulong and compile it in 13.1 and later versions of the compiler.
The compiler is supposed to support 64-bit integer types and I have not seen any issues using 64-bit integer types before.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What about support for the 64-bit atomic operations?
I queried the platform extensions and got only those: "cl_khr_byte_addressable_store cles_khr_int64 cl_altera_live_object_tracking cl_altera_compiler_mode" Thus, the OpenCL parser tells me: " error: call to unavailable function 'atomic_inc'"- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
64-bit atomics are not supported at the moment. I was going to copy and paste the text about this from the programming guide but the formatting gets all messed up. If you go to the AOC programming guide and search for "Atomic Functions" you'll find that section says only 32-bit atomics are supported.

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