Detect platform architecture