code: def test_dmatrix_ctor(is_feature_cols: bool, is_qdm: bool) -> None:
      run_dmatrix_ctor(is_feature_cols, is_qdm, on_gpu=True)
  
imports: import pytest
  from xgboost import testing
  from ..test_with_spark.test_data import run_dmatrix_ctor
label_desc: Use image node_id 1 for calling a global function with example usage: test_dmatrix_ctor(is_feature_cols, is_qdm) without return types