Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Ultimate /prog/ challenge

Name: Anonymous 2012-11-08 11:36

Now that SPIR has been standardized for OpenCL, your goal is to create a high-performance Lisp-like language compiler specialized for stream-processing that targets the OpenCL stack. Think S-expression syntax with semantics compatible with OpenCL.

Some things to keep in mind:

• No recursion. Current GPU hardware can't support it.
• No garbage-collection, at least outside of your compiler, you can use GC inside for your lexer/parser/codegen if you want, but the final output must compile down to SPIR assembly and host language C code. Therefore, the language must be lexically scoped.
• No bignums/bigfloats. The language should expose access to all underlying fundamental OpenCL integer and floating point types, as well as all vector types and associated operations.
• Should expose access to OpenCL buffer/texture-map data types and operations, offering both manual memory management and automatic region-based allocation of these OpenCL objects. OpenCL buffers are arrays optimized for sequential access, and OpenCL texture maps are arrays optimized for random access and hardware filtering.
• Should build up a task dependency graph at compile-time and automatically insert synchronization barriers were required into the command buffer.
• Should be implemented as a library that can be easily embedded into any C/C++ program.

References:
http://www.khronos.org/opencl/
http://www.khronos.org/registry/cl/specs/spir_spec-1.0-provisional.pdf
http://www.khronos.org/registry/cl/specs/opencl-1.2.pdf

Name: Anonymous 2012-11-08 11:52

Think S-expression syntax with semantics compatible with OpenCL.
I wish I weren't so dumb

Have a free bump

Name: Anonymous 2012-11-08 12:50

>>1
How does one become as well versed in these subjects as you?  I'll be awaiting your reply kind Sir.

Name: Anonymous 2012-11-09 15:05

>>3
Find a programming job where you're not working on enterprise software. For me, I spent a few years working in the gaming industry, and later in the aerospace industry, and then in finance.

Name: Anonymous 2012-11-09 15:12

It's sad that there are comments on threads feel threads but no discussion here. (Not that I can contribute)

Name: Anonymous 2012-11-09 15:13

>>4
please go on. Tell me about how you started off.(studies etc..)

Name: Anonymous 2012-11-09 17:01

>>6
Shalom!

>>5
Shalom!

>>5
Faggot.

Name: Anonymous 2012-11-09 17:05

>>7
Ahmed!

Name: Anonymous 2012-11-10 3:36

>>7
Cretin.

Name: Anonymous 2012-11-10 3:41

>>5
What is one level higher than opencl?

Maybe a good start would be opencl bindings for lisp?

Name: >>10 2012-11-10 4:08

Do you want a language that is compiled to a set a kernels and opencl client code that sets up the tasks and their dependencies?

This wont mix well with things like file io and data structures, but it could still be leveraged in the same way that open cl is. You just wouldn't have to think about things in terms of tasks and kernels, but rather a hierarchy of map and reduce operations?

Name: sage 2012-11-10 4:09

anti spam bump

Name: Anonymous 2012-11-10 4:42

electromorphic nose flute-hydrogyrion reflux clapper-partchmonious vibrateet-tripleflauted analphone-various kitchen appliances and an amphigoric humour

Don't change these.
Name: Email:
Entire Thread Thread List