[NFC] Correct comments and line spacing
- Correct spelling mistakes or working in comments. - Adding missing line separators. - Add missing comments for namespace closing brace. Change-Id: If09cdd38aa088b0f68f750dfdef81351eb8c4935
This commit is contained in:
@@ -138,7 +138,7 @@ class NullProgram : public device::Program {
|
||||
protected:
|
||||
/*! \brief Compiles GPU CL program to LLVM binary (compiler frontend)
|
||||
*
|
||||
* \return True if we successefully compiled a GPU program
|
||||
* \return True if we successfully compiled a GPU program
|
||||
*/
|
||||
virtual bool compileImpl(const std::string& sourceCode, //!< the program's source code
|
||||
const std::vector<const std::string*>& headers, //!< header souce codes
|
||||
@@ -168,21 +168,21 @@ class NullProgram : public device::Program {
|
||||
|
||||
/*! \brief Parses the GPU program and finds all available kernels
|
||||
*
|
||||
* \return True if we successefully parsed the GPU program
|
||||
* \return True if we successfully parsed the GPU program
|
||||
*/
|
||||
bool parseKernels(const std::string& source //! the program's source code
|
||||
);
|
||||
|
||||
/*! \brief Parse all functions in the program
|
||||
*
|
||||
* \return True if we successefully parsed all functions
|
||||
* \return True if we successfully parsed all functions
|
||||
*/
|
||||
bool parseAllILFuncs(const std::string& source //! the program's source code
|
||||
);
|
||||
|
||||
/*! \brief Parse a function's metadata given as source[posBegin:posEnd-1]
|
||||
*
|
||||
* \return True if we successefully parsed the given metadata
|
||||
* \return True if we successfully parsed the given metadata
|
||||
*/
|
||||
bool parseFuncMetadata(const std::string& source, //! string that contains metadata
|
||||
size_t posBegin, //! begin of metadata in 'source'
|
||||
@@ -192,7 +192,7 @@ class NullProgram : public device::Program {
|
||||
/*! \brief Finds functions with the given start and end string in the
|
||||
* program
|
||||
*
|
||||
* \return True if we successefully found all functions
|
||||
* \return True if we successfully found all functions
|
||||
*/
|
||||
bool findILFuncs(const std::string& source, //! the program's source code
|
||||
const std::string& func_start, //! the start string of a function
|
||||
@@ -339,10 +339,10 @@ class Program : public NullProgram {
|
||||
//! Returns pritnf info array
|
||||
const std::vector<device::PrintfInfo>& printfInfo() const { return printf_; }
|
||||
|
||||
//! Return a typecasted GPU device
|
||||
//! Return a typecasted GPU device
|
||||
gpu::Device& dev() { return const_cast<gpu::Device&>(static_cast<const gpu::Device&>(device())); }
|
||||
|
||||
protected:
|
||||
protected:
|
||||
private:
|
||||
//! Disable copy constructor
|
||||
Program(const Program&);
|
||||
|
||||
@@ -1228,7 +1228,7 @@ CALGSLDevice::resMapLocal(size_t& pitch,
|
||||
|
||||
//! @todo Workaround strange GSL/CMM-QS behavior. OCL doesn't require a sync,
|
||||
//! because resource isn't busy on the CAL device. However without sync there are less CBs available
|
||||
//! Conformanace multidevice test will create around 60 queues, instead of 70
|
||||
//! Conformanace multidevice test will create around 60 queues, instead of 70
|
||||
uint32 mode = (IS_LINUX) ? GSL_SYNCUPLOAD_SYNC_WAIT | GSL_SYNCUPLOAD_SYNC_START : 0;
|
||||
m_cs->DMACopy(mem, 0, memMap->mem, 0, surfaceSize, mode, NULL);
|
||||
|
||||
@@ -1284,7 +1284,7 @@ CALGSLDevice::resUnmapLocal(gslMemObject mem)
|
||||
|
||||
//! @todo Workaround strange GSL/CMM-QS behavior. OCL doesn't require a sync,
|
||||
//! because resource isn't busy on the CAL device. However without sync there are less CBs available
|
||||
//! Conformanace multidevice test will create around 60 queues, instead of 70
|
||||
//! Conformanace multidevice test will create around 60 queues, instead of 70
|
||||
uint32 mode = (IS_LINUX) ? GSL_SYNCUPLOAD_SYNC_WAIT | GSL_SYNCUPLOAD_SYNC_START : 0;
|
||||
m_cs->DMACopy(memMap->mem, 0, mem, 0, surfaceSize, mode, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user