Well, I like exploring undocumented features of matlab and playing around with the interface... Even made my matlab look like android studion/intellij :)
a friend of mine devised the best test for our HCP on the faculty; when we moved to our new building he ran a program for four days, calculating the optimum location of his office with respect to the coffee machine locations and toilet locations. He basically solved a journeyman problem
Today my friend told me something that blew my mind completely.
He said:
The energy necessary to stop a train is equal to the energy in a pack of cookies.
How is that possible? Is he right? I'm done understanding energy if he's right...
I'm trying to figure out where default values are stored for some function inputs.. It's supposed to be in some header file, no?
e.g. the documentation says that: `void func(in1,in2,in3=3,in4=4)` From this I understand that the 3rd and 4th inputs are optional, but I can't seem to find where "in3=3" and "in4=4" are defined in the code...
@AnderBiguri - quick question - I have some CUDA/mex code that compiles and runs properly, but returns an output that is the same as the input without any errors or warnings... What could be the cause of that? ...Aside from a combination of input parameters that happens to result in no processing of the input...
Looking through the answers and comments on CUDA questions, and in the CUDA tag wiki, I see it is often suggested that the return status of every API call should checked for errors. The API documentation contains functions like cudaGetLastError, cudaPeekAtLastError, and cudaGetErrorString, but wh...
Is there a CUDA function for printing both a caller-supplied error message, and an error message describing the current cudaStatus (or a caller-supplied cudaStatus), a-la-perror()?
I think the \ is for the precomiler. I'm not sure but I think the precomiler assumes that all its definitions are on one line, so you have to end your line with \ if you want to do a multiple-line precompiler definition
Btw: The precomiler handles the Comments. This means you can have comments like
:D `<>` seemed to do the trick in my case but now it refuses to recognize the #define you suggested... `error C2065: 'cudaError_t' : undeclared identifier`
Well, it would depend on how you pronounce the "o" and "a" in ondrash:) But yeah, the "s" is pronounced "sh", and our "a" (the first in my name) is somewhere in between the English a and o. And my second a is actually "á", which is the usual "a" in most European languages, as in the "u" in "under", only longer:D
So the only tricky thing (well, at least to Europeans, I don't know what your native language is) is the first letter, since that's virtually non-existent in Europe. Maybe the scandinavian AA/Å is a bit related, but I think those are much closer to an "o".