fix CUDAAEF.