Is the gpx a course or an activity? If it is not an activity file, you will have to find a tool to create an activity from a course (it must insert logos time data). On e you have an activity file, upload/import it to Garmin Connect as an activity, then create a course from the activity, then delete the activity.