Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Programming

An Open Source Compiler From CUDA To X86-Multicore 71

Gregory Diamos writes "An open source project, Ocelot, has recently released a just-in-time compiler for CUDA, allowing the same programs to be run on NVIDIA GPUs or x86 CPUs and providing an alternative to OpenCL. A description of the compiler was recently posted on the NVIDIA forums. The compiler works by translating GPU instructions to LLVM and then generating native code for any LLVM target. It has been validated against over 100 CUDA applications. All of the code is available under the New BSD license."
Image

Zombie Pigs First, Hibernating Soldiers Next Screenshot-sm 193

ColdWetDog writes "Wired is running a story on DARPA's effort to stave off battlefield casualties by turning injured soldiers into zombies by injecting them with a cocktail of one chemical or another (details to be announced). From the article, 'Dr. Fossum predicts that each soldier will carry a syringe into combat zones or remote areas, and medic teams will be equipped with several. A single injection will minimize metabolic needs, de-animating injured troops by shutting down brain and heart function. Once treatment can be carried out, they'll be "re-animated" and — hopefully — as good as new.' If it doesn't pan out we can at least get zombie bacon and spam."

Comment Re:Best not one system... LORAN, Fuller, Cold War (Score 1) 210

using static ground stations like LORAN,

Reminds me of something I've not yet found the answer to: Why don't we have ground-based GPS transmitters in addition to the satellites? - wouldn't this give improved reliabilty / accuracy / easier-maintenance in places where you need it (ie. near ports) with standard GPS receiver equipment (rather than needing extra equipment like for differential-GPS)

Comment Re:I laugh ... (Score 1) 163

This is the RSA algorithm. It hasn't been broken in the last 30 years by the smartest people. Either that, or the govt.(NSA) knows how to break it and is keeping it under wraps.

The algorithm in mark-t's post is not the one described on http://en.wikipedia.org/wiki/RSA : I read it as a varient that (using the wikipedia page's notation) is making {p,q} public instead of {n,e}, with a corresponding adjustment to the messages that need to be exchanged.

this relies on the discrete logarithm of (d6=d5^Ys mod C) being difficult to solve from step-6 (with d6,d5 and C being known to an eavesdropper : Ys being what you need to figure out to break the encryption) - compared to the wikipedia articles RSA algorithm that more directly relies on factorising n being the difficult step.

Comment Re:I laugh ... (Score 2, Insightful) 163

3.The source and destination then compute Ys and Yd, respectively, such that their own X*Y is congruent to 1 mod (A*B). They do not share this information.

Should that be 1 mod ((A-1)*(B-1))?

I'm not that convinced that relying on the discrete logarithm problem (at the cost of 4x as much network communication) rather than directly on the factoring problem (like more commonly discussed PK based systems) has any additional security : aren't the 2 problems of identical complexity?

Spam

Opting Out Increases Spam? 481

J. L. Tympanum writes "I used to ignore spam but recently I have been using the opt-out feature. Now I get more spam than ever, especially of the Nigerian scam (and related) types. The latter has gone from almost none to several a day. Was I a fool for opting out? Is my email address being harvested when I opt out? Has anybody had similar experience?"

Comment Misplacing blame on google (Score 5, Insightful) 232

From both the article and the summary re:

The cause appears to be a known issue with the Google search engine, in which the pages of defunct web sites containing sensitive directories remain cached and available to anyone

This makes it sound like the issue is with google's search engine and makes light of the real issue which is that at some point this information was published for all the world to see (or search engines to index) and anyone to cache (or write-down, or memorize).

Insisting on search engines removing removing this information from their indexes and remove it from their caches is just sweeping the problem under the rug : you or I taking a quick peek on the internet to see if our credit-card infomation has been published anywhere would get a false sense of security if the search engines pretended it wasn't there and that security breaches had never happened.

*tin-foil-hat-time* It seems analogous to re-writing history books to cover up prior misdeeds.

Comment Also thwarted by changes in symbol frequencies (Score 4, Informative) 663

Its very difficult to compare as in typing speed measurements one will either be limited to different people as well as different keyboard layouts, or at least different amounts of exposure to each layout. And what about some control cases of randomly generated layouts or alphabetical layouts?

An interesting hypothesis to test would be that any keyboard layout might have similar typing speeds (say give a factor of 2 or so) once a user has enough experience with it - for things that can be typed with single key presses.

I _do_ have some personal experience with the (standard 2-hand) dvorak keyboard layout which anyone can try by selecting that layout in their OS's keyboard settings (irrespective of their physical keyboard), a side effect of this is that you will be forced to learn to touch-type as obviously the letters written on your standard keyboard will have no relation to what comes out on the screen any more!

Speaking entirely qualitatively - it was suprising how easy it was to learn, and a few times since I abandoned it I've gone back and found that it can be picked up again within an hour or two once learnt (just like riding a bike?). And as a few other posters have already mentioned (for typing normal English) it feels more comfortable as less finger movement is required on average.

However (and this is the reason I've abandoned using it) - the dvorak layout is inappropriate for most uses apart from simply typing English - such as computer programming, working with spreadsheets, linux command line usage etc.

This is because by arranging the characters by their frequency in standard english, many non-alphanumeric characters which are rarely used in standard english but now very frequently used for other tasks on a computer are placed in very awkard positions requiring you to type with the little finger (or even worse, shift + little-finger). Here are some examples
':' - used a lot in C++, is where shift-'z' is on qwerty.
'{' and '}' - are shift-'-' and shift-'=' on qwerty.
'\'' and '"' - are q and shift-'q' on qwerty.

Supercomputing

NVIDIA's $10K Tesla GPU-Based Personal Supercomputer 236

gupg writes "NVIDIA announced a new category of supercomputers — the Tesla Personal Supercomputer — a 4 TeraFLOPS desktop for under $10,000. This desktop machine has 4 of the Tesla C1060 computing processors. These GPUs have no graphics out and are used only for computing. Each Tesla GPU has 240 cores and delivers about 1 TeraFLOPS single precision and about 80 GigaFLOPS double-precision floating point performance. The CPU + GPU is programmed using C with added keywords using a parallel programming model called CUDA. The CUDA C compiler/development toolchain is free to download. There are tons of applications ported to CUDA including Mathematica, LabView, ANSYS Mechanical, and tons of scientific codes from molecular dynamics, quantum chemistry, and electromagnetics; they're listed on CUDA Zone."

Comment Things that should be a single authoritative site (Score 3, Interesting) 254

There are quite a few situations where life would be simpler if there were just one definitive instance of something - mostly indexes / official repositories of some kind, but sadly at the moment we have a multitude of these things with no single instance providing 100% coverage :

  - Airline flight schedules : presumably every airline has planned its timetable months in advance, but there is no obvious place to search across all of them (cf. www.nationalrail.co.uk which I think does have the authoritative timetable across all mainline railways)

  - List of all properties for sale in the country; in the UK the seller has to choose which estate agents to list with, and the buyer then has to go around a load of different agents to find out what's available. It'd seem obvious for this to instead be a nationalized thing - what added value do estate agents / letting introduction agencies provide anyway? (as distinct from letting agencies that also do some property management)

  - Web Search : there is scope for different search-engines to provide fundamentally different types of search (ie. text, image, audio etc) : but why do we need more than one of each type?

  - Scientific Journals : pre-print servers (arXiv.org) are starting to solve this problem, but lots of papers still get published in obscure / less-popular journals and if your university library doesn't subscribe to that one then you can't easily read it - and once you leave university they become pretty much unavailable to the average member of the public.

Pretty much all the things I can think of that would be better as a single instance have the problem that they are run commercially - so there are problems with monopolies if we ever get just one of them, and the tin-foil-hat brigade might have something to say if they were nationalized (and in many cases could just be right too : imagine if our primary news outlet were government controlled)

Free stuff seems to find its own level of singleton-like-ness, some keeping just one instance :
  - IMDB, CPAN, w3c.org, ....
others forking to meet differing preferences like linux distributions, tech news website etc.

Power

Submission + - Parking permit costs to depend on CO2 emmissions?

Confuse Ed writes: "Should the cost of a residents' parking permit depend on how much the car pollutes? Yes/No" — this is the question that the London borough of Islington is asking in a referendum to all of its residents.
Some of the issues are covered in The Dilemma Explained — which for myself comes mainly down to having to vote 'YES' to help tackle pollution and climate change etc. (one simply can't vote against the environment) — but also having to vote 'NO' for reasons including (1) it probably won't have much positive effect but could falsly give us (and politicians) the impression that we've done our bit for the environment and (2) vehicle pollution is already directly charged via tax on fuel.(and while we're at it why not charge extra for long vehicles and noisy engines for residential parking)
What are the Slashdot reader's views?

Slashdot Top Deals

"And remember: Evil will always prevail, because Good is dumb." -- Spaceballs

Working...