multithreading is working now
memcopy to device is working now. compiling also :)