Jump to content
Infin

Programmers Aplenty

Recommended Posts

I was wondering if anyone has ever used CUDA before?

Share this post


Link to post
Share on other sites

Only as a user in certain apps, sorry.

Share this post


Link to post
Share on other sites

My degree honours project is to show CUDA working on an algorithm and compare it with the same algorithm being processed without CUDA. Essentially showing the benefits.

I need to learn CUDA from scratch so I was wondering if anyone had tips on a good source of learning. I'll also need an idea for what kind of algorithm my demo will be on, but that comes later.

  • Upvote 1

Share this post


Link to post
Share on other sites

My degree honours project is to show CUDA working on an algorithm and compare it with the same algorithm being processed without CUDA. Essentially showing the benefits.

I need to learn CUDA from scratch so I was wondering if anyone had tips on a good source of learning. I'll also need an idea for what kind of algorithm my demo will be on, but that comes later.

 

It sounds a damn sight more interesting than the areas I cover which are financials and advanced manufacturing

  • Upvote 1

Share this post


Link to post
Share on other sites

Sound's more interesting than my honours project; which consisted of programming a mobile device using the Android API to connect to a RC car with an integrated xIMU board, and using the mobile device's accelerometer to steer the car and the xIMU's accelerometer to determine the tactile elements.. biggrin.png

  • Upvote 2

Share this post


Link to post
Share on other sites

Sounds more interesting than my honours project. I didn't do one.

  • Upvote 2

Share this post


Link to post
Share on other sites

Unrelated to my CUDA project: does anyone know any Erlang?

Share this post


Link to post
Share on other sites

Destined to program in the obscure languages and libraries.

  • Upvote 1

Share this post


Link to post
Share on other sites

Here's a wild shot in the dark. Someone 'ave a look at this and tell me if my logic is faulty. Also plz tell me where.

-module(ass2).
-export([main/0]).
-export([printList/1]).
-export([compare/2, compare/1]).


main() -> 
	List = [2,5,3,6,3,2,7,8,5,6],
	SortedList = lists:usort(List),
	printList(List),
	printList(SortedList),
	printList([]),
	compare(SortedList, List).
	
printList(L) ->
	io:format("~w~n", [L]).

compare([], []) -> 0;	

compare(A,  ->
	[H1|T1] = A,
	R = [X || X <- B, H1 == X],
	printList(R),
	printList(T1),
	compare(T1, .
	
compare([]) -> 0.

The problem is mostly in the compare(A, B) part.

Share this post


Link to post
Share on other sites

What... language is that? Looks oddly familiar, but some of the calls don't make sense to me... ;)

Share this post


Link to post
Share on other sites

That was Erlang. I sorted my problem though, but there's still more to do.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...