Gpuarray in Cuda/Matlab [closed] - matlab

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to know if there is a way to optimize the matlab function gather. I am developing a Cuda code with very huge matrices and I have noticed that the gather function that I have to use to get back my GPU data is quite slow. For a 2^13x2^8 matrix, it takes about 3 seconds!

The performance of gpuArray.gather is limited by your PCI bus. You can optimise this only by gathering less data (e.g. using indexing). Note that in more recent versions of Parallel Computing Toolbox, many of the operations are asynchronous, but gather is not - so perhaps you are simply seeing the time for the asynchronous requests to complete. You can check using wait(gpuDevice) to synchronize the device.

Related

What is the benchmark for mongodb search for typical foursquare like application? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
How much is fast for a query? .1 second? Or what?
My databases have 1.6 million businesses and user search based on location. What would be a good target to aim for speed?
How fast is reasonable?
I would go with MongoDB's own profiling level guideline which considers operations slower than 100ms to be slow:
By default slow operations are those slower than 100 milliseconds.
With less than 100 ms read queries, users will typically not notice a delay on a web application where all non-db operations are performing optimally.

Japid or Scala which one is better? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Japid is a fast template engine (probably 2x to 20x faster) supported by play framework, But is it better enough or stable enough to be used in production environment ? And if japid is better than why play shipped examples projects in scala?
Japid is not faster because it is written in Java. It's faster because the people who wrote it decided to spend the effort to make it faster. Scala can be just as fast.
It's also newer, and a plugin, which explains why it isn't used for the core examples for Play.

Neural Networks for Mobile Robot Navigation [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
When designing mobile robot navigation using Artificial Neural Networks - there is a preference to use Back Propagation Methods instead of Feed Forward Methods, Why ?
Like Eric said, back-prop isn't an alternative to a feed forward networks -- its an addition. With just a feed forward network, your left with the task of figuring out all of the weights yourself, which very rarely makes sense.
Now, back-prop isn't a necessary addition, as there numerous other learning methods ranging from reinforcement learning to evolutionary methods like genetic programming. But you pretty much have to add some learning algorithm to your network to achieve any sort of decent task performance.

Beginner WF4 question - When is WF4 useful, really? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
If I want to use a traditional approval type workflow in a regular asp.net system, for example
an order that needs an approval before order is placed. Rather than having the traditional
enum for OrderStatus, can I benefit from using microsoft WF4 (Workflow version 4) for this
or will I just generate more complexity and more code for no added benefit?
Any time you have a long running operation like this WF4 is a good possibility. The fact that the graphical designer allows you to show the actual running process, not a Visio copy of it, is also a huge benefit.
There is however a learning curve to WF4 and there are times you have to do things the WF4 way instead of the C#/VB way you did before. That said there is certainly a benefit, thinks like an approval request not being handled in, lets say, 14 days is very easy to do in WF4.

Transfer photos from one application to another [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
can anyone give me sample code to transfer photos from one iphone to another using bluetooth
Your best bet would to use GameKit, which greatly simplifies connecting multiple devices over Bluetooth & transfering data. I can't remember having seen an Apple sample which does that, but it certainly would be possible. This is exactly what GameKit was intended for, peer-to-peer connectivity, not only limited to gaming.
You'll probably have to split the data of the image and send little chunks to the other device, which can reassemble the chunks to form the original file once finished.
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html