Skip to content

Commit

Permalink
domain changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale committed Aug 5, 2023
1 parent abccdfd commit 4be3032
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions profiling/nvtx-connector/kp_nvtx_connector_domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
//@HEADER

#ifndef _H_KOKKOSP_KERNEL_NVPROF_CONNECTOR_INFO
#define _H_KOKKOSP_KERNEL_NVPROF_CONNECTOR_INFO
#ifndef KOKKOSP_NVTX_CONNECTOR_H
#define KOKKOSP_NVTX_CONNECTOR_H

#include <stdio.h>
#include <sys/time.h>
Expand All @@ -29,9 +29,9 @@ enum KernelExecutionType {
PARALLEL_SCAN = 2
};

class KernelNVProfConnectorInfo {
class KernelNVTXConnectorInfo {
public:
KernelNVProfConnectorInfo(std::string kName, KernelExecutionType kernelType) {
KernelNVTXConnectorInfo(std::string kName, KernelExecutionType kernelType) {
domainNameHandle = kName;
char* domainName = (char*)malloc(sizeof(char*) * (32 + kName.size()));

Expand Down Expand Up @@ -67,7 +67,7 @@ class KernelNVProfConnectorInfo {

std::string getDomainNameHandle() { return domainNameHandle; }

~KernelNVProfConnectorInfo() { nvtxDomainDestroy(domain); }
~KernelNVTXConnectorInfo() { nvtxDomainDestroy(domain); }

private:
std::string domainNameHandle;
Expand Down

0 comments on commit 4be3032

Please sign in to comment.