used defined FLOAT_T, use of gpu for local weights update in dense GPU kernel