Xilinx / Xilinx/XRT

Add default constructor to xrt_graph.h

Open
#7,840 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
686
Forks
549
Avg merge
2d 4h
Merged PRs (30d)
70

Description

Please add an empty default constructor to the xrt::graph class. This will make it easier to use an xrt::graph object within a user defined class.

Example:

class graph {
public:
  graph() = default;
  graph(const xrt::device& device, const xrt::uuid& xclbin_id, const std::string& name, access_mode am = access_mode::primary);
  ...
};

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting xrt_graph.h and the xrt::graph class declaration. Confirm that an empty default constructor is available alongside the existing constructor and that the header still builds for a user-defined class containing an xrt::graph member.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.